Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mcp_bridge/openai_clients/streamChatCompletion.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ async def chat_completions(request: CreateChatCompletionRequest, http_request: R

call_id = parsed_data.choices[0].delta.tool_calls[0].id
call_id = call_id if call_id is not None else ""
tool_call_id = id if tool_call_id == "" else tool_call_id
tool_call_id = call_id if tool_call_id == "" else tool_call_id

arg = parsed_data.choices[0].delta.tool_calls[0].function.arguments
tool_call_json += arg if arg is not None else ""
Expand Down