Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -190,13 +190,13 @@ class BasicAgent:
|
|
190 |
response = self.agent.chat(text, verbose=True)
|
191 |
|
192 |
print_coso("\n==== RISPOSTA AGENTE ====")
|
193 |
-
print(response.response)
|
194 |
|
195 |
print_coso("\n==== RAW OUTPUT ====")
|
196 |
-
print(response.raw_output)
|
197 |
print_coso("\n==== FINE RAW OUTPUT ====")
|
198 |
|
199 |
-
return str(response
|
200 |
except Exception as e:
|
201 |
print_coso(f"[ERRORE] Agent chat fallita: {e}")
|
202 |
return "Agent error"
|
|
|
190 |
response = self.agent.chat(text, verbose=True)
|
191 |
|
192 |
print_coso("\n==== RISPOSTA AGENTE ====")
|
193 |
+
#print(response.response)
|
194 |
|
195 |
print_coso("\n==== RAW OUTPUT ====")
|
196 |
+
#print(response.raw_output)
|
197 |
print_coso("\n==== FINE RAW OUTPUT ====")
|
198 |
|
199 |
+
return str(response)
|
200 |
except Exception as e:
|
201 |
print_coso(f"[ERRORE] Agent chat fallita: {e}")
|
202 |
return "Agent error"
|