Skip to content

Conversation

@dgageot
Copy link
Member

@dgageot dgageot commented Feb 9, 2026

  • cagent exec default "hi" "bye" will run a multi turn sessions when both user questions are provided on the command line.
  • Same for cagent run default "hi" "bye". We leverage queued questions here
  • Finally, cagent eval becomes capable of running multi-turn evals.

Signed-off-by: David Gageot <david.gageot@docker.com>
Signed-off-by: David Gageot <david.gageot@docker.com>
Signed-off-by: David Gageot <david.gageot@docker.com>
@dgageot dgageot requested a review from a team as a code owner February 9, 2026 17:57
Copy link
Contributor

@trungutt trungutt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review Summary

Found 1 critical bug in the multi-turn conversation implementation that will cause incorrect behavior.

Critical Issue

The queued messages feature has a closure variable capture bug that will cause all queued messages to be duplicated with the last message's content. This needs to be fixed before merging.


Overall Assessment: REQUEST_CHANGES - This bug will definitely cause incorrect behavior in production when users provide multiple messages on the command line.

@dgageot dgageot merged commit a43090e into docker:main Feb 9, 2026
10 of 11 checks passed
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