mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-09 22:31:08 +00:00
Fix openrouter tool calls (#9642)
This commit is contained in:
parent
4cdec7db8d
commit
b31e755739
1 changed files with 1 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ export class OpenRouterHandler extends BaseProvider implements SingleCompletionH
|
|||
}),
|
||||
...(transforms && { transforms }),
|
||||
...(reasoning && { reasoning }),
|
||||
...(metadata?.tools && { tools: metadata.tools }),
|
||||
...(metadata?.tools && { tools: this.convertToolsForOpenAI(metadata.tools) }),
|
||||
...(metadata?.tool_choice && { tool_choice: metadata.tool_choice }),
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue