Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -410,24 +410,7 @@ class BasicAgent:
|
|
410 |
final_answer(pope_current_age)
|
411 |
```<end_code>
|
412 |
|
413 |
-
|
414 |
-
{%- for tool in tools.values() %}
|
415 |
-
- {{ tool.name }}: {{ tool.description }}
|
416 |
-
Takes inputs: {{tool.inputs}}
|
417 |
-
Returns an output of type: {{tool.output_type}}
|
418 |
-
{%- endfor %}
|
419 |
-
|
420 |
-
{%- if managed_agents and managed_agents.values() | list %}
|
421 |
-
You can also give tasks to team members.
|
422 |
-
Calling a team member works the same as for calling a tool: simply, the only argument you can give in the call is 'task', a long string explaining your task.
|
423 |
-
Given that this team member is a real human, you should be very verbose in your task.
|
424 |
-
Here is a list of the team members that you can call:
|
425 |
-
{%- for agent in managed_agents.values() %}
|
426 |
-
- {{ agent.name }}: {{ agent.description }}
|
427 |
-
{%- endfor %}
|
428 |
-
{%- else %}
|
429 |
-
{%- endif %}
|
430 |
-
|
431 |
Here are the rules you should always follow to solve your task:
|
432 |
1. Always provide a 'Thought:' sequence, and a 'Code:\n```py' sequence ending with '```<end_code>' sequence, else you will fail.
|
433 |
2. Use only variables that you have defined!
|
|
|
410 |
final_answer(pope_current_age)
|
411 |
```<end_code>
|
412 |
|
413 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
414 |
Here are the rules you should always follow to solve your task:
|
415 |
1. Always provide a 'Thought:' sequence, and a 'Code:\n```py' sequence ending with '```<end_code>' sequence, else you will fail.
|
416 |
2. Use only variables that you have defined!
|