rmjones commited on
Commit
d4173d6
·
verified ·
1 Parent(s): c4de2d3

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +2 -0
agent.py CHANGED
@@ -179,6 +179,8 @@ class BasicAgent:
179
  print(f"Agent received question (first 50 chars): {question[:50]}...")
180
  result = self.agent.run(question)
181
 
 
 
182
  if isinstance(result, dict) and "output" in result:
183
  final_str = str(result["output"]).strip()
184
  elif hasattr(result, "output"):
 
179
  print(f"Agent received question (first 50 chars): {question[:50]}...")
180
  result = self.agent.run(question)
181
 
182
+ print("Raw result:", result)
183
+
184
  if isinstance(result, dict) and "output" in result:
185
  final_str = str(result["output"]).strip()
186
  elif hasattr(result, "output"):