ORromu commited on
Commit
3d6792d
·
verified ·
1 Parent(s): f31c0ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -77,7 +77,8 @@ class BasicAgent:
77
  #return answer.split("FINAL ANSWER:")[-1].strip() # Return for single pass
78
 
79
  # Call the agent again
80
- print({"messages": [sys_msg] + [SystemMessage(content=response)]})
 
81
  response = self.graph.invoke({"messages": [sys_msg] + [SystemMessage(content=response)]})
82
  return answer.split("FINAL ANSWER:")[-1].strip()
83
 
 
77
  #return answer.split("FINAL ANSWER:")[-1].strip() # Return for single pass
78
 
79
  # Call the agent again
80
+ print([sys_msg])
81
+ print([SystemMessage(content=response)])
82
  response = self.graph.invoke({"messages": [sys_msg] + [SystemMessage(content=response)]})
83
  return answer.split("FINAL ANSWER:")[-1].strip()
84