Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ def analyze_employee(employee_name, strategy_name):
|
|
| 37 |
agent.task = task
|
| 38 |
|
| 39 |
# Execute the task using the selected strategy
|
| 40 |
-
return agent.execute()
|
| 41 |
except Exception as e:
|
| 42 |
return str(e)
|
| 43 |
|
|
|
|
| 37 |
agent.task = task
|
| 38 |
|
| 39 |
# Execute the task using the selected strategy
|
| 40 |
+
return agent.execute(task)
|
| 41 |
except Exception as e:
|
| 42 |
return str(e)
|
| 43 |
|