You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code performs the same isinstance(output, ResponseFunctionToolCall) check twice. This is redundant and may confuse future maintainers or introduce unnecessary complexity.
elif not isinstance(output, ResponseFunctionToolCall):
logger.warning(f"Unexpected output type, ignoring: {type(output)}")
continue
# At this point we know it's a function tool call
if not isinstance(output, ResponseFunctionToolCall):
continue
The text was updated successfully, but these errors were encountered:
The code performs the same isinstance(output, ResponseFunctionToolCall) check twice. This is redundant and may confuse future maintainers or introduce unnecessary complexity.
openai-agents-python/src/agents/_run_impl.py
Line 378 in f976349
The text was updated successfully, but these errors were encountered: