no-defensive

This commit is contained in:
Ashwin Bharambe 2025-08-12 21:28:08 -07:00
parent 674478c851
commit a4b8eed576

View file

@ -531,7 +531,6 @@ class OpenAIResponsesImpl:
# Emit function_call_arguments.done events for completed tool calls
for tool_call_index in sorted(chat_response_tool_calls.keys()):
if tool_call_index in tool_call_item_ids:
tool_call_item_id = tool_call_item_ids[tool_call_index]
final_arguments = chat_response_tool_calls[tool_call_index].function.arguments or ""
sequence_number += 1