Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -432,7 +432,7 @@ class EsiAgent:
|
|
| 432 |
# Extract final assistant message
|
| 433 |
last_msg = final_state["messages"][-1].content
|
| 434 |
print("GROQ_KEY:", bool(os.getenv("GROQ_API_KEY")))
|
| 435 |
-
print("LLM resp:", last_msg
|
| 436 |
|
| 437 |
# If you need to strip off "FINAL ANSWER: " prefix, do it here:
|
| 438 |
if last_msg.startswith("FINAL ANSWER:"):
|
|
|
|
| 432 |
# Extract final assistant message
|
| 433 |
last_msg = final_state["messages"][-1].content
|
| 434 |
print("GROQ_KEY:", bool(os.getenv("GROQ_API_KEY")))
|
| 435 |
+
print("LLM resp:", last_msg[:100])
|
| 436 |
|
| 437 |
# If you need to strip off "FINAL ANSWER: " prefix, do it here:
|
| 438 |
if last_msg.startswith("FINAL ANSWER:"):
|