diff options
| author | soryu <soryu@soryu.co> | 2026-01-02 21:46:36 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-01-02 21:46:36 +0000 |
| commit | e8ebf8f01101905bd9aec84aec94fd8854f8a030 (patch) | |
| tree | f079b9f0a8b814f9a3bda6ac7f779b0ddb4b431a /makima/frontend/src/components/files | |
| parent | 062ae51396e88a8998bb30e78381275d77e7c90e (diff) | |
| download | soryu-e8ebf8f01101905bd9aec84aec94fd8854f8a030.tar.gz soryu-e8ebf8f01101905bd9aec84aec94fd8854f8a030.zip | |
Update display of LLM edit panel
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) => ( |
