debug: trace invoke execution

This commit is contained in:
opencode committed 2026-03-23 18:15:16 +01:00
1 parent e7cd792954
commit fbc19aef23
1 file changed
+2
+2
View File
@@ -367,6 +367,8 @@ For other questions, just answer normally without tools."""
L'agente può fare multiple iterazioni tool-call prima di rispondere.
"""
print("OLLAMA_AGENT: invoke() CALLED")
# Estrai il messaggio utente
user_message = input_dict.get("messages", [])[-1]
if hasattr(user_message, 'content'):