Skip to content
Commits on Source (6)
## [5.12.2](https://gitlab.com/gitlab-org/gitlab-vscode-extension/compare/v5.12.1...v5.12.2) (2024-09-24)
### Bug Fixes
* Disable additional context in chat query/mutation ([6ab30e4](https://gitlab.com/gitlab-org/gitlab-vscode-extension/commit/6ab30e4e9e85524a88892888ef89fb9b224dc39f))
## [5.12.1](https://gitlab.com/gitlab-org/gitlab-vscode-extension/compare/v5.12.0...v5.12.1) (2024-09-23)
......
This diff is collapsed.
......@@ -2,7 +2,7 @@
"name": "gitlab-workflow",
"displayName": "GitLab Workflow",
"description": "Official GitLab-maintained extension for Visual Studio Code.",
"version": "5.12.1",
"version": "5.12.2",
"publisher": "GitLab",
"license": "MIT",
"repository": {
......@@ -340,7 +340,7 @@
"@typescript-eslint/parser": "^7.18.0",
"@vscode/test-web": "^0.0.60",
"conventional-changelog-cli": "^5.0.0",
"esbuild": "^0.23.1",
"esbuild": "^0.24.0",
"eslint": "^8.57.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
......
......@@ -107,7 +107,6 @@ describe('GitLabChatController', () => {
expect(viewMock.setContextItemCategories).toHaveBeenCalledWith(['files', 'symbols']);
expect(aiContextManager.getCurrentItems).toHaveBeenCalled();
expect(viewMock.setCurrentContextItems).toHaveBeenCalledWith([]);
expect(apiMock.useAdditionalContext).toHaveBeenCalledWith(true);
});
it('restores chat history', async () => {
......
......@@ -326,7 +326,6 @@ export class GitLabChatController implements vscode.WebviewViewProvider {
try {
const availableCategories = await this.#aiContextManager.getAvailableCategories();
await this.#view.setContextItemCategories(availableCategories);
this.#api.useAdditionalContext(true);
} catch (error) {
// FIXME: Show a UI warning if there's an error
// https://gitlab.com/gitlab-org/gitlab/-/issues/489300
......