mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-22 19:08:40 +00:00
x
This commit is contained in:
parent
4899857042
commit
61129557c0
@ -2883,7 +2883,7 @@ def _lc_tool_call_to_openai_tool_call(tool_call: ToolCall) -> dict:
|
|||||||
"id": tool_call["id"],
|
"id": tool_call["id"],
|
||||||
"function": {
|
"function": {
|
||||||
"name": tool_call["name"],
|
"name": tool_call["name"],
|
||||||
"arguments": json.dumps(tool_call["args"]),
|
"arguments": json.dumps(tool_call["args"], ensure_ascii=False),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user