diff --git a/gui/src/pages/gui/ToolCallDiv/CreateFile.tsx b/gui/src/pages/gui/ToolCallDiv/CreateFile.tsx
index 7fe43deec..4b6e5bbc1 100644
--- a/gui/src/pages/gui/ToolCallDiv/CreateFile.tsx
+++ b/gui/src/pages/gui/ToolCallDiv/CreateFile.tsx
@@ -1,5 +1,5 @@
-import StepContainerPreToolbar from "../../../components/markdown/StepContainerPreToolbar";
-import { SyntaxHighlightedPre } from "../../../components/markdown/SyntaxHighlightedPre";
+import { getMarkdownLanguageTagForFile } from "core/util";
+import StyledMarkdownPreview from "../../../components/markdown/StyledMarkdownPreview";
import { ToolState } from "./types";
interface CreateFileToolCallProps {
@@ -11,20 +11,10 @@ interface CreateFileToolCallProps {
export function CreateFile(props: CreateFileToolCallProps) {
return (
<>
-
-
-
- {props.fileContents}
-
-
+
>
);
}
diff --git a/gui/src/pages/gui/ToolCallDiv/FunctionSpecificHeader.tsx b/gui/src/pages/gui/ToolCallDiv/FunctionSpecificHeader.tsx
index 858c2e46c..207945a8e 100644
--- a/gui/src/pages/gui/ToolCallDiv/FunctionSpecificHeader.tsx
+++ b/gui/src/pages/gui/ToolCallDiv/FunctionSpecificHeader.tsx
@@ -14,7 +14,7 @@ export function FunctionSpecificHeader(props: FunctionSpecificHeaderProps) {
case "create_new_file":
return "Continue wants to create a new file";
case "run_terminal_command":
- return "Continue wantsto run a terminal command.";
+ return "Continue wants to run a terminal command.";
case "exact_search":
return "Continue wants to search your codebase";
case "search_web":
diff --git a/gui/src/pages/gui/ToolCallDiv/RunTerminalCommand.tsx b/gui/src/pages/gui/ToolCallDiv/RunTerminalCommand.tsx
index 62186ddec..799d65126 100644
--- a/gui/src/pages/gui/ToolCallDiv/RunTerminalCommand.tsx
+++ b/gui/src/pages/gui/ToolCallDiv/RunTerminalCommand.tsx
@@ -1,5 +1,4 @@
-import StepContainerPreToolbar from "../../../components/markdown/StepContainerPreToolbar";
-import { SyntaxHighlightedPre } from "../../../components/markdown/SyntaxHighlightedPre";
+import StyledMarkdownPreview from "../../../components/markdown/StyledMarkdownPreview";
import { ToolState } from "./types";
interface RunTerminalCommandToolCallProps {
@@ -10,22 +9,10 @@ interface RunTerminalCommandToolCallProps {
export function RunTerminalCommand(props: RunTerminalCommandToolCallProps) {
return (
<>
-
Continue wants to run a terminal command:
-
-
-
-
- {props.command}
-
-
+
>
);
}