Skip to content

Conversation

@HQidea
Copy link

@HQidea HQidea commented Oct 22, 2025

This pr fixes:

  • Variable scope: The assistant_content variable was declared outside the message processing loop, causing content accumulation across multiple messages
  • Message ordering: Assistant messages were being stored after tool results, which violates the correct conversation flow where assistant messages should come before tool results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants