This commit is contained in:
Nate 2024-11-20 14:00:57 -08:00
parent 71680480d4
commit 2ccf532b09
4 changed files with 14 additions and 5 deletions

View file

@ -9,7 +9,6 @@ import { viewSubdirectoryTool } from "./viewSubdirectory";
export const allTools = [
createNewFileTool,
runTerminalCommandTool,
runTerminalCommandTool,
viewSubdirectoryTool,
viewFileTreeTool,
exactSearchTool,

View file

@ -9,6 +9,9 @@ export const viewDiffTool: Tool = {
function: {
name: "view_diff",
description: "View the current diff of working changes",
parameters: {},
parameters: {
type: "object",
properties: {},
},
},
};

View file

@ -19,8 +19,8 @@ import {
stopStatusBarLoading,
} from "./statusBar";
import type { TabAutocompleteModel } from "../util/loadAutocompleteModel";
import type { IDE } from "core";
import type { TabAutocompleteModel } from "../util/loadAutocompleteModel";
interface VsCodeCompletionInput {
document: vscode.TextDocument;
@ -42,7 +42,7 @@ export class ContinueCompletionProvider
e.message,
this.configHandler.reloadConfig.bind(this.configHandler),
() => {
void this.webviewProtocol.request("openOnboardingCard", undefined)
void this.webviewProtocol.request("openOnboardingCard", undefined);
},
);
return;

View file

@ -31,7 +31,14 @@ export function ThreadDiv(props: ThreadDivProps) {
return (
<Container>
<HeaderDiv>
<div style={{ width: `${W}px`, height: `${W}px`, fontWeight: "bold" }}>
<div
style={{
width: `${W}px`,
height: `${W}px`,
fontWeight: "bold",
marginTop: "1px",
}}
>
{props.icon}
</div>
Continue wants to create a new file