mralamdari commited on
Commit
af4816e
·
verified ·
1 Parent(s): 51aec54

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
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.content[:100])
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:"):