fix: clean up 49 unused variables, catch params, and stale imports (#22695)

This commit is contained in:
Kit Langton
2026-04-15 22:01:53 -04:00
committed by GitHub
parent 34213d4446
commit cce05c1665
37 changed files with 32 additions and 94 deletions

View File

@@ -1825,7 +1825,7 @@ NOTE: At any point in time through this workflow you should feel free to ask the
onSuccess: (output: unknown) => void
}): AITool {
// Remove $schema property if present (not needed for tool input)
const { $schema, ...toolSchema } = input.schema
const { $schema: _, ...toolSchema } = input.schema
return tool({
id: "StructuredOutput" as any,