Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -77,7 +77,7 @@ If you are asked for a comma separated list, apply the above rules depending on
|
|
| 77 |
return app
|
| 78 |
|
| 79 |
# Agentin suoritusfunktio
|
| 80 |
-
|
| 81 |
print(f"Agent received question: {question}")
|
| 82 |
final_answer = ""
|
| 83 |
try:
|
|
|
|
| 77 |
return app
|
| 78 |
|
| 79 |
# Agentin suoritusfunktio
|
| 80 |
+
def run_agent(agent_executor, question: str) -> str:
|
| 81 |
print(f"Agent received question: {question}")
|
| 82 |
final_answer = ""
|
| 83 |
try:
|