From ecf464839397201e81fcf84aefce6ae433b6c0f3 Mon Sep 17 00:00:00 2001 From: opencode Date: Mon, 23 Mar 2026 17:29:25 +0100 Subject: [PATCH] debug: aggiunge print per vedere detection --- ollama_agent.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ollama_agent.py b/ollama_agent.py index 6987aab..2ab6577 100644 --- a/ollama_agent.py +++ b/ollama_agent.py @@ -403,6 +403,7 @@ For other questions, just answer normally without tools.""" # Try to detect intent directly first detected_tool = self._detect_intent(user_content) + print(f"DEBUG: user_content='{user_content}', detected={detected_tool}") if detected_tool: result = self._execute_tool(detected_tool)