ATK20 commited on
Commit
96fd62f
·
verified ·
1 Parent(s): b05ee56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ class BasicAgent:
22
  self.agent = CodeAgent(model=model, tools=[search_tool])
23
  def __call__(self, question: str) -> str:
24
  print(f"Agent received question (first 50 chars): {question[:50]}...")
25
- fixed_answer = agent.run(question)
26
  print(f"Agent returning fixed answer: {fixed_answer}")
27
  return fixed_answer
28
 
 
22
  self.agent = CodeAgent(model=model, tools=[search_tool])
23
  def __call__(self, question: str) -> str:
24
  print(f"Agent received question (first 50 chars): {question[:50]}...")
25
+ fixed_answer = self.agent.run(question)
26
  print(f"Agent returning fixed answer: {fixed_answer}")
27
  return fixed_answer
28