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

Push enhanced context state to the extension when creating an EnhancedContextPanel #1364

Merged
merged 4 commits into from
Apr 23, 2024

Conversation

dominiccooney
Copy link
Contributor

Fixes #1347

Test plan

  • Open a clone of the sourcegraph repo
  • Start a chat, click Pencil, add github.com/sourcegraph/cody repo, cmd-enter to commit
  • Ask "how do local embeddings work", there should be some context results from the cody repo
  • Click pencil, add github.com/sourcegraph/handbook repo, cmd-enter to commit
  • Click "new chat" button
  • Ask "what's the role of an engineering manager?", there should be some context results from the handbook repo
  • Click pencil, delete the handbook repo, cmd-enter to commit
  • Ask "what's the role of an engineering manager?", there should be no context results from the handbook repo
  • Chat history, select the first chat, the repo selector should show the cody and handbook repos
  • Chat history, select the second chat, the repo selector should show the cody repo

Copy link
Contributor

@pkukielka pkukielka left a comment

Choose a reason for hiding this comment

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

LGTM

@dominiccooney dominiccooney enabled auto-merge (squash) April 23, 2024 00:47
@dominiccooney dominiccooney merged commit 5157fdc into main Apr 23, 2024
6 checks passed
@dominiccooney dominiccooney deleted the dpc/restore-repos branch April 23, 2024 00:51
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.

JetBrains: Adding repo for context will not improve answer and Cody will respond same.
3 participants