Spaces:
Runtime error
Runtime error
santiagoahl commited on
Commit ·
fbe29e4
1
Parent(s): 3580f53
Specify python version
Browse files- app.py +1 -1
- runtime.txt +1 -0
app.py
CHANGED
|
@@ -32,7 +32,7 @@ class ReactAgent:
|
|
| 32 |
def __call__(self, question: str) -> str:
|
| 33 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
| 34 |
agent_response = asyncio.run(
|
| 35 |
-
|
| 36 |
)
|
| 37 |
print(f"Agent returning fixed answer: {agent_response}")
|
| 38 |
return agent_response
|
|
|
|
| 32 |
def __call__(self, question: str) -> str:
|
| 33 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
| 34 |
agent_response = asyncio.run(
|
| 35 |
+
react.run_agent(user_query=question)
|
| 36 |
)
|
| 37 |
print(f"Agent returning fixed answer: {agent_response}")
|
| 38 |
return agent_response
|
runtime.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
python-3.11
|