Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -137,7 +137,7 @@ class BasicAgent:
|
|
| 137 |
def __call__(self, question: str) -> str:
|
| 138 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
| 139 |
try:
|
| 140 |
-
result = agent_instance.
|
| 141 |
print(f"Agent response: {result[:100]}")
|
| 142 |
return result
|
| 143 |
except Exception as e:
|
|
|
|
| 137 |
def __call__(self, question: str) -> str:
|
| 138 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
| 139 |
try:
|
| 140 |
+
result = agent_instance.invoke(question)
|
| 141 |
print(f"Agent response: {result[:100]}")
|
| 142 |
return result
|
| 143 |
except Exception as e:
|