🩹 only grab last command output with cmd+shift+R
This commit is contained in:
parent
71179b98a4
commit
890b7195ab
3 changed files with 7 additions and 5 deletions
8
docs/static/schemas/config.json
vendored
8
docs/static/schemas/config.json
vendored
|
|
@ -334,7 +334,7 @@
|
|||
"gpt-4",
|
||||
"gpt-3.5-turbo-0613",
|
||||
"gpt-4-32k",
|
||||
"gpt-4-1106-preview"
|
||||
"gpt-4-0125-preview"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -417,7 +417,8 @@
|
|||
"gpt-4",
|
||||
"gpt-3.5-turbo-0613",
|
||||
"gpt-4-32k",
|
||||
"gpt-4-1106-preview",
|
||||
"gpt-4-0125-preview",
|
||||
"gpt-4-vision-preview",
|
||||
"mistral-7b",
|
||||
"mistral-8x7b",
|
||||
"llama2-7b",
|
||||
|
|
@ -762,7 +763,8 @@
|
|||
"gpt-4",
|
||||
"gpt-3.5-turbo-0613",
|
||||
"gpt-4-32k",
|
||||
"gpt-4-1106-preview",
|
||||
"gpt-4-0125-preview",
|
||||
"gpt-4-vision-preview",
|
||||
"mistral-7b",
|
||||
"mistral-8x7b",
|
||||
"llama2-7b",
|
||||
|
|
|
|||
|
|
@ -190,7 +190,7 @@ const commandsMap: { [command: string]: (...args: any) => any } = {
|
|||
await vscode.window.showTextDocument(uri);
|
||||
},
|
||||
"continue.debugTerminal": async () => {
|
||||
const terminalContents = await ideProtocolClient.getTerminalContents(2);
|
||||
const terminalContents = await ideProtocolClient.getTerminalContents(1);
|
||||
vscode.commands.executeCommand("continue.continueGUIView.focus");
|
||||
debugPanelWebview?.postMessage({
|
||||
type: "userInput",
|
||||
|
|
|
|||
|
|
@ -243,7 +243,7 @@ class VsCodeIde implements IDE {
|
|||
}
|
||||
|
||||
async getTerminalContents(): Promise<string> {
|
||||
return await ideProtocolClient.getTerminalContents(2);
|
||||
return await ideProtocolClient.getTerminalContents(1);
|
||||
}
|
||||
|
||||
async listWorkspaceContents(directory?: string): Promise<string[]> {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue