mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Fix mypy
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user