peerawatchomp commited on
Commit
01903c6
·
verified ·
1 Parent(s): f9cea1b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -68,6 +68,8 @@ class BasicAgent:
68
  print(f"Agent received question (first 50 chars): {question[:50]}...")
69
 
70
  messages = [HumanMessage(content=question)]
 
 
71
  answer = self.agent.invoke({"messages": messages})
72
  print("answer:", answer)
73
  print(f"Agent returning fixed answer: {answer}")
 
68
  print(f"Agent received question (first 50 chars): {question[:50]}...")
69
 
70
  messages = [HumanMessage(content=question)]
71
+ print("invoking ......")
72
+ print("agent", self.agent)
73
  answer = self.agent.invoke({"messages": messages})
74
  print("answer:", answer)
75
  print(f"Agent returning fixed answer: {answer}")