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 4a078e05b1
commit 021fe76e47
37 changed files with 32 additions and 94 deletions
+1 -1
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,