Update app.py
Browse files
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("
|
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
|