fix(llm): normalize OpenAI function tool schemas

This commit is contained in:
Kit Langton
2026-06-04 19:56:31 -04:00
parent ab5a12d916
commit f011d77128
4 changed files with 89 additions and 4 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ const lowerTool = (tool: ToolDefinition): OpenAIChatTool => ({
function: {
name: tool.name,
description: tool.description,
parameters: tool.inputSchema,
parameters: ProviderShared.openAiToolInputSchema(tool.inputSchema),
},
})