This commit is contained in:
Tao Chen
2026-06-03 14:43:48 -07:00
Unverified
parent a9863c038d
commit e4dcbe555a
@@ -733,7 +733,7 @@ class WorkflowAgent(BaseAgent):
function_responses[request_id] = content
elif content.type == "function_result":
response_data = content.result if hasattr(content, "result") else str(content) # type: ignore[attr-defined]
function_responses[content.call_id] = response_data # type: ignore[argument-type]
function_responses[content.call_id] = response_data # type: ignore
else:
raise AgentInvalidResponseException(
"Unexpected content type while awaiting request info responses."