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)