mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
Fix type error
This commit is contained in:
parent
4ee88c5de7
commit
a888520b36
1 changed files with 1 additions and 2 deletions
|
|
@ -259,8 +259,7 @@ export class OpenRouterHandler implements ApiHandler {
|
|||
role: "assistant",
|
||||
content: textContent,
|
||||
tool_calls: toolCalls.length > 0 ? toolCalls : undefined,
|
||||
// @ts-ignore-next-line
|
||||
refusal: undefined,
|
||||
refusal: null,
|
||||
},
|
||||
finish_reason: toolCalls.length > 0 ? "tool_calls" : "stop",
|
||||
index: 0,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue