The chat page displays an error

Hi,This issue is very urgent.When I set add_history_to_context=True while creating the agent, this caused all the questions I had asked—displayed in the chat history—to revert to the content of my first question after I refreshed the chat page.
This is the normal chat page before refreshing:

This is the page after I refreshed it:


After my investigation, the issue lies with this API: Get:/sessions/{session_id}/runs — all the run_input fields it returns have turned into “Hi”.

When I set add_history_to_context=False, these issues do not occur.

Hi @LBWhite55, thanks for reaching out and supporting Agno. I’ve shared this with the team, we’re working through all requests one by one and will get back to you soon. We appreciate your patience!

I’m very glad to see your reply; I’ve been waiting.

Hey, how did it go? I’ve been waiting.

Hi @LBWhite55 we are very sorry. We missed answering here. Tagging our engineer, @pritiagno to help you out here

Hey @LBWhite55 can you please help with what version of Agno are you on and also which model + storage you’re using?

agno is 2.0.6,db is postgresql

model is deepseek

Can you try our latest version v2.2.3 and check if the issue still persists? I am having hard time replicating this but I am guessing it’s because- it’s already resolved in the newest version

Yes, the problem has been solved. I have updated to the latest version.

1 Like