Merge remote-tracking branch 'origin/main' into capacitor

This commit is contained in:
Alex Gleason committed 2025-10-03 13:06:50 -05:00
commit 56c4aaf669
1 file changed
+1 -1
+1 -1
View File
@@ -17,7 +17,7 @@ export function toolToOpenAI<TParams>(name: string, tool: Tool<TParams>): OpenAI
if (tool.inputSchema) {
functionDef.parameters = zodSchemaToJsonSchema(tool.inputSchema);
} else {
functionDef.parameters = {};
functionDef.parameters = { type: "object" };
}
return {