diff options
Diffstat (limited to 'makima/frontend/src/components/files')
| -rw-r--r-- | makima/frontend/src/components/files/CliInput.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/makima/frontend/src/components/files/CliInput.tsx b/makima/frontend/src/components/files/CliInput.tsx index 1dcc884..0ac840a 100644 --- a/makima/frontend/src/components/files/CliInput.tsx +++ b/makima/frontend/src/components/files/CliInput.tsx @@ -1,5 +1,6 @@ import { useState, useCallback, useRef, useEffect } from "react"; import { chatWithFile, type BodyElement, type LlmModel } from "../../lib/api"; +import { SimpleMarkdown } from "../SimpleMarkdown"; interface CliInputProps { fileId: string; @@ -114,7 +115,7 @@ export function CliInput({ fileId, onUpdate }: CliInputProps) { )} {msg.type === "assistant" && ( <div className="pl-4 space-y-1"> - <div className="text-[#75aafc]">{msg.content}</div> + <SimpleMarkdown content={msg.content} className="text-[#75aafc]" /> {msg.toolCalls && msg.toolCalls.length > 0 && ( <div className="text-[#555] text-[10px] space-y-0.5"> {msg.toolCalls.map((tc, i) => ( |
