fix: tool_call missing first token.

This commit is contained in:
Andrei Betlen 2024-03-22 23:44:04 -04:00
parent e325a831f0
commit c1325dcdfb

View file

@ -402,7 +402,7 @@ def _convert_completion_to_chat_function(
"type": "function",
"function": {
"name": tool_name,
"arguments": "",
"arguments": chunk["choices"][0]["text"],
},
}
],