Revert "fix: add type safety for tool output schemas in ToolCallback"
This commit is contained in:
parent
1b14bd7fa4
commit
a45e4febd9
1 changed files with 27 additions and 54 deletions
|
|
@ -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
|
||||
},
|
||||
})
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue