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

feat: copilot new api VSCODE-550 #757

Merged
merged 4 commits into from
Jul 23, 2024

Conversation

alenakhineika
Copy link
Contributor

@alenakhineika alenakhineika commented Jul 10, 2024

Description

  • Create a MongoDB participant using the latest VSCode Language Model API
  • Create the /query command that generated MongoDB queries and can open them in a new playground or run directly
  • Call a generic handler if the participant called without a command

Checklist

Motivation and Context

  • Bugfix
  • New feature
  • Dependency update
  • Misc

Types of changes

  • Backport Needed
  • Patch (non-breaking change which fixes an issue)
  • Minor (non-breaking change which adds functionality)
  • Major (fix or feature that would cause existing functionality to change)

@alenakhineika alenakhineika marked this pull request as ready for review July 22, 2024 13:32
@alenakhineika alenakhineika requested a review from Anemy July 22, 2024 13:32
Copy link
Member

@Anemy Anemy left a comment

Choose a reason for hiding this comment

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

lgtm, left one small question and suggestion. I'm thinking we'll be doing a good amount of iterating on prompts, response handling, and more so not a need for now.

src/participant/participant.ts Show resolved Hide resolved
src/editors/playgroundController.ts Show resolved Hide resolved
@alenakhineika alenakhineika merged commit 89fbc31 into VSCODE-528-mongodb-copilot Jul 23, 2024
3 checks passed
@alenakhineika alenakhineika deleted the VSCODE-550-copilot-new-api branch July 23, 2024 09:07
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