debug: aggiunge print esplicito
This commit is contained in:
1 parent
8528068995
commit
658f7cd580
1 file changed
+3
@@ -403,11 +403,14 @@ For other questions, just answer normally without tools."""
|
||||
else:
|
||||
user_content = str(user_message)
|
||||
|
||||
print(f"OLLAMA_AGENT: user_content='{user_content}'")
|
||||
|
||||
# Aggiungi il messaggio utente alla cronologia
|
||||
self.messages.append(HumanMessage(content=user_content))
|
||||
|
||||
# Try to detect intent directly first
|
||||
detected_tool = self._detect_intent(user_content)
|
||||
print(f"OLLAMA_AGENT: detected_tool={detected_tool}")
|
||||
if detected_tool:
|
||||
result = self._execute_tool(detected_tool)
|
||||
|
||||
|
||||
Reference in new issue
Block a user