-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: chat show up in tree view on submit (#2171)
CLOSE #2148 #2150 #2170 #2169 Fix issues where: - chats don't appear until stream ends (simplified chat) #2148 - active chats block new chats being started (simplified chat) #2150 - getReadmeContext is slow Changse included: - saveSession after human submission instead of only saving chat after assistant has responded - combine saveAndPostHistory and saveSession - limit getReadmeContext to 1 file at root of repo using global pattern ## Test plan <!-- Required. See https://docs.sourcegraph.com/dev/background-information/testing_principles. --> - ask Cody a question - before Cody has responded, the tree view has already been updated with the new session added - you can start a new chat panel while waiting for Cody to response - you cannot create multiple empty new chat panels - you can delete chat history from tree view - you can press up to loop through your input history https://github.com/sourcegraph/cody/assets/68532117/2b62cc8e-c5ce-483c-97ed-fcada0bec22a --------- Co-authored-by: Beyang Liu <[email protected]>
- Loading branch information
Showing
5 changed files
with
61 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters