Skip to content
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

fix: save transcript to chat history on abort #1550

Merged
merged 3 commits into from
Oct 31, 2023
Merged

fix: save transcript to chat history on abort #1550

merged 3 commits into from
Oct 31, 2023

Conversation

abeatrix
Copy link
Contributor

The commit adds a new call to saveTranscriptToChatHistory() before cancelling completion and notifying turn is complete. This saves the chat transcript to history when aborting a chat message.

Test plan

  1. abort a message in progress
  2. reload chat
  3. open chat history for the message you aborted

Before

cody's response before you pressed abort is removed

image

After

cody's response before you pressed abort is showing up in chat history

@abeatrix abeatrix requested a review from a team October 31, 2023 01:45
@abeatrix abeatrix merged commit e3808d6 into main Oct 31, 2023
14 checks passed
@abeatrix abeatrix deleted the bee/fix-abort branch October 31, 2023 12:48
@abeatrix abeatrix added the chat/commands Chat and Commands label Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chat/commands Chat and Commands
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants