fixed reasoning

This commit is contained in:
2026-06-10 14:37:27 +03:00
parent 905d756a25
commit 89158930ee
6 changed files with 47 additions and 22 deletions
+1
View File
@@ -7,6 +7,7 @@ import "./Chat.css";
function shouldShowMessage(msg: ChatMessage): boolean {
if (msg.role === "tool") return false;
if (msg.role === "assistant" && msg.tool_calls_json) return false;
if (msg.role === "assistant" && !msg.content.trim()) return false;
return true;
}