Skip to content

Track activity context in chat history and enable replay with activity information. #1234

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 19, 2025

Conversation

curtisman
Copy link
Member

@curtisman curtisman commented Jun 18, 2025

Save activity context in the chat history and set it during replay via importing.

  • Hide the "entries" and provide API on ChatHistory for operations.  
    • Add import/export of chat history to use the "input" format, change @history save and @history insert.
  • Refactor the code that updates the activities context from action result and reuse that when importing chat history.
    • Store the schema name as the source of the assistant entries in the chat history so that we can use it to fill out the schema name of the end action during import.
  • Add any support for schema creator and validator so that we can validate the "any" fields in the activity context when reading from exported chat history from file.

@curtisman curtisman added this pull request to the merge queue Jun 19, 2025
Merged via the queue into microsoft:main with commit e0a1f21 Jun 19, 2025
13 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.

1 participant