Open
Description
Description
I found a bug when running agent to get RunResponse
Steps to Reproduce
Use Agent.run()
and response_model is pydantic Model
Agent Configuration (if applicable)
res: RunResponse = agent.run(
message=test_output,
# stream=True
)
Expected Behavior
Return RunResponse
model
Actual Behavior
Screenshots or Logs (if applicable)
No response
Environment
agno==1.5.2
Possible Solutions (optional)
[agno/agent/agent.py](https://github.com/agno-agi/agno/blob/main/libs/agno/agno/agent/agent.py#L924)
response = list(
self._run(
run_response=run_response,
run_messages=run_messages,
message=message,
user_id=user_id,
session_id=session_id,
response_format=response_format,
messages=messages,
)
)
Additional Context
No response