Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ class BasicAgent:
|
|
22 |
self.agent = CodeAgent(model=model, tools=[search_tool])
|
23 |
def __call__(self, question: str) -> str:
|
24 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
25 |
-
fixed_answer = agent.run(question)
|
26 |
print(f"Agent returning fixed answer: {fixed_answer}")
|
27 |
return fixed_answer
|
28 |
|
|
|
22 |
self.agent = CodeAgent(model=model, tools=[search_tool])
|
23 |
def __call__(self, question: str) -> str:
|
24 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
25 |
+
fixed_answer = self.agent.run(question)
|
26 |
print(f"Agent returning fixed answer: {fixed_answer}")
|
27 |
return fixed_answer
|
28 |
|