Skip to content

Conversation

Anemy
Copy link
Member

@Anemy Anemy commented Sep 27, 2024

VSCODE-626

When the message sent to the ai is empty, like how folks will use /schema, we would receive an error: unhandled status from server, please report the following request id
This only happens in non-insiders VSCode.
It looks to be fixed in insiders, but since we do want to release the extension now we should work around it. We're adding a not-empty message in those cases so it doesn't error. This is a bit of a hack, I think we'll improve this in a follow up (or remove it). We probably want the check closer to the actual model request.

Also adds a few logs around when we're making requests and get a response.

@Anemy Anemy requested a review from alenakhineika September 27, 2024 19:32
@Anemy Anemy merged commit 0a5a76f into VSCODE-528-mongodb-copilot Sep 30, 2024
3 checks passed
@Anemy Anemy deleted the fix-schema-handler-error branch September 30, 2024 14:50
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