Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -432,7 +432,6 @@ 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 |
-
last_msg = llm.invoke([self.sys_msg, HumanMessage(content="ping")])
|
| 436 |
print("LLM resp:", last_msg.content[:100])
|
| 437 |
|
| 438 |
# If you need to strip off "FINAL ANSWER: " prefix, do it here:
|
|
|
|
| 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:
|