fix: tool_call missing first token.
This commit is contained in:
parent
e325a831f0
commit
c1325dcdfb
1 changed files with 1 additions and 1 deletions
|
@ -402,7 +402,7 @@ def _convert_completion_to_chat_function(
|
||||||
"type": "function",
|
"type": "function",
|
||||||
"function": {
|
"function": {
|
||||||
"name": tool_name,
|
"name": tool_name,
|
||||||
"arguments": "",
|
"arguments": chunk["choices"][0]["text"],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue