Skip to content

Commit cdc7275

Browse files
authored
Show the prompt for image gen (#9505)
1 parent 2ca9eac commit cdc7275

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

webview-ui/src/components/chat/ChatRow.tsx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,13 +1004,14 @@ export const ChatRowContent = ({
10041004
</div>
10051005
{message.type === "ask" && (
10061006
<div className="pl-6">
1007-
<CodeAccordian
1008-
path={tool.path}
1009-
code={tool.content}
1010-
language="text"
1011-
isExpanded={isExpanded}
1012-
onToggleExpand={handleToggleExpand}
1013-
/>
1007+
<ToolUseBlock>
1008+
<div className="p-2">
1009+
<div className="mb-2 break-words">{tool.content}</div>
1010+
<div className="flex items-center gap-1 text-xs text-vscode-descriptionForeground">
1011+
{tool.path}
1012+
</div>
1013+
</div>
1014+
</ToolUseBlock>
10141015
</div>
10151016
)}
10161017
</>

0 commit comments

Comments
 (0)