Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ class BasicAgent:
|
|
34 |
)
|
35 |
def __call__(self, question: str) -> str:
|
36 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
37 |
-
answer = agent.run(self.template_prompt.format(system_prompt=self.system_prompt, question=question))
|
38 |
print(f"Agent returning answer: {answer}")
|
39 |
return answer
|
40 |
|
|
|
34 |
)
|
35 |
def __call__(self, question: str) -> str:
|
36 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
37 |
+
answer = self.agent.run(self.template_prompt.format(system_prompt=self.system_prompt, question=question))
|
38 |
print(f"Agent returning answer: {answer}")
|
39 |
return answer
|
40 |
|