Skip to content

Conversation

@contextablemark
Copy link
Collaborator

Addresses #640 by following the pattern of Langgraph, Vercel and Crew AI integrations of implementing a MESSAGES_SNAPSHOT at the end of each run.

Summary

  • emit the final messages snapshot before propagating the RUN_FINISHED event so listeners receive the complete transcript beforehand
  • cover the ordering change in the default text message apply test to ensure the snapshot precedes the run finished notification

Testing

  • pnpm --filter @ag-ui/client test -- --runTestsByPath src/apply/tests/default.text-message.test.ts

@contextablemark contextablemark changed the title Contextablemark/feature/issue640 Emit final snapshot before run finished event Nov 5, 2025
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