From e8ebf8f01101905bd9aec84aec94fd8854f8a030 Mon Sep 17 00:00:00 2001 From: soryu Date: Fri, 2 Jan 2026 21:46:36 +0000 Subject: Update display of LLM edit panel --- makima/frontend/src/components/files/CliInput.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'makima/frontend/src/components/files/CliInput.tsx') 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" && (
-
{msg.content}
+ {msg.toolCalls && msg.toolCalls.length > 0 && (
{msg.toolCalls.map((tc, i) => ( -- cgit v1.2.3