There was an error while loading. Please reload this page.
instruction_key
1 parent 4565aa0 commit 7abc807Copy full SHA for 7abc807
1 file changed
packages/vscode/src/view/backend/view-provider.ts
@@ -496,7 +496,6 @@ export class ViewProvider implements vscode.WebviewViewProvider {
496
497
let current_instructions = ''
498
let new_instructions = ''
499
- let instruction_key = ''
500
const mode: WebMode | ApiMode = is_in_code_completions_mode
501
? 'code-completions'
502
: this.home_view_type === HOME_VIEW_TYPES.WEB
@@ -527,7 +526,6 @@ export class ViewProvider implements vscode.WebviewViewProvider {
527
526
const new_caret_position = (before_caret + text).replace(/ +/g, ' ').length
528
529
new_instructions = new_instructions.replace(/ +/g, ' ')
530
- instruction_key = `${mode}-instructions`
531
532
switch (mode) {
533
case 'ask':
0 commit comments