mnavas commited on
Commit
128d9cb
·
verified ·
1 Parent(s): 87ff55e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ class BasicAgent:
27
  print("BasicAgent initialized.")
28
  def __call__(self, question: str) -> str:
29
  print(f"Agent received question (first 50 chars): {question[:50]}...")
30
- fixed_answer = agent.run(
31
  f"Answer the following question: {question[:50]}"
32
  )
33
  print(f"Agent returning fixed answer: {fixed_answer}")
 
27
  print("BasicAgent initialized.")
28
  def __call__(self, question: str) -> str:
29
  print(f"Agent received question (first 50 chars): {question[:50]}...")
30
+ fixed_answer = self.agent.run(
31
  f"Answer the following question: {question[:50]}"
32
  )
33
  print(f"Agent returning fixed answer: {fixed_answer}")