mongodb-js / vscode

Connect to MongoDB and Atlas and directly from your VS Code environment, navigate your databases and collections, inspect your schema and use playgrounds to prototype queries and aggregations.
https://marketplace.visualstudio.com/items?itemName=mongodb.mongodb-vscode
Apache License 2.0
327 stars 59 forks source link

fix(chat): update response handling to stream and inline code block parsing VSCODE-620 #835

Closed Anemy closed 1 month ago

Anemy commented 1 month ago

VSCODE-620

These changes make all of the model responses feel a faster. We're now streaming them as they come in instead of building one string out of the response and then streaming that. Also adds support for multiple code blocks. We now inline the code actions as the code comes in. Hopefully it's written in a way we can change that out as we update to a different code block identifier in an upcoming ticket.

Screenshot 2024-09-25 at 5 49 38 PM