Revert "fix: add type safety for tool output schemas in ToolCallback"

This commit is contained in:
Kentaro Suzuki 2025-07-03 22:13:24 +09:00 • committed by GitHub
commit a45e4febd9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1312,7 +1312,7 @@ describe("tool()", () => {
resultType: "structured",
// Missing required 'timestamp' field
someExtraField: "unexpected" // Extra field not in schema
} as unknown as { processedInput: string; resultType: string; timestamp: string }, // Type assertion to bypass TypeScript validation for testing purposes
},
})
);