From 3d0b3084ad2c5c90b72af442b901f65fcd743255 Mon Sep 17 00:00:00 2001 From: Cursor Date: Sat, 21 Mar 2026 00:03:56 +0100 Subject: [PATCH] fix(bot): Reasoning/Thinking NIEMALS an User zeigen --- homelab-ai-bot/llm.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/homelab-ai-bot/llm.py b/homelab-ai-bot/llm.py index 695b4b9e..757b6853 100644 --- a/homelab-ai-bot/llm.py +++ b/homelab-ai-bot/llm.py @@ -297,8 +297,6 @@ def ask_with_tools(question: str, tool_handlers: dict, session_id: str = None) - tool_calls = msg.get("tool_calls") if not tool_calls: content = msg.get("content") or "" - if not content and msg.get("reasoning"): - content = msg.get("reasoning", "") return content or "Keine Antwort vom LLM." messages.append(msg) @@ -392,8 +390,6 @@ def ask_with_image(image_base64: str, caption: str, tool_handlers: dict, session tool_calls = msg.get("tool_calls") if not tool_calls: content = msg.get("content") or "" - if not content and msg.get("reasoning"): - content = msg.get("reasoning", "") return content or "Keine Antwort vom LLM." messages.append(msg)