diff --git a/src/main/apiServer/services/unified-messages.ts b/src/main/apiServer/services/unified-messages.ts index 38c0f61d3..7b465d75a 100644 --- a/src/main/apiServer/services/unified-messages.ts +++ b/src/main/apiServer/services/unified-messages.ts @@ -145,13 +145,13 @@ function convertAnthropicToolResultToAiSdk( /** * JSON Schema type for tool input schemas - * Uses the standard JSONSchema7 type from the json-schema package (via @ai-sdk/provider) */ export type JsonSchemaLike = JSONSchema7 /** * Convert JSON Schema to Zod schema * This avoids non-standard fields like input_examples that Anthropic doesn't support + * TODO: Anthropic/beta support input_examples */ export function jsonSchemaToZod(schema: JsonSchemaLike): z.ZodTypeAny { const schemaType = schema.type