Iamvincent commited on
Commit
4cd35a1
·
verified ·
1 Parent(s): d906d04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ class BasicAgent:
26
 
27
  def __call__(self, question: str) -> str:
28
  print(f"Agent received question (first 50 chars): {question[:50]}...")
29
- fixed_answer = self.agent.run("What is a ninja?")
30
  print(fixed_answer)
31
  print(f"Agent returning fixed answer: {fixed_answer}")
32
  return fixed_answer
 
26
 
27
  def __call__(self, question: str) -> str:
28
  print(f"Agent received question (first 50 chars): {question[:50]}...")
29
+ fixed_answer = self.agent.run("You are a helpful assistant answering short factual questions. Answer the question: " + question)
30
  print(fixed_answer)
31
  print(f"Agent returning fixed answer: {fixed_answer}")
32
  return fixed_answer