Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ class BasicAgent:
|
|
| 26 |
print("BasicAgent initialized.")
|
| 27 |
def __call__(self, question: str) -> str:
|
| 28 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
| 29 |
-
answer = agent.run(system_prompt + question)
|
| 30 |
print(f"Agent returning answer: {answer}")
|
| 31 |
return answer
|
| 32 |
|
|
|
|
| 26 |
print("BasicAgent initialized.")
|
| 27 |
def __call__(self, question: str) -> str:
|
| 28 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
| 29 |
+
answer = self.agent.run(self.system_prompt + question)
|
| 30 |
print(f"Agent returning answer: {answer}")
|
| 31 |
return answer
|
| 32 |
|