Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -490,31 +490,6 @@ class BasicAgent:
|
|
| 490 |
If the previous tries so far have met some success, you can make an updated plan based on these actions.
|
| 491 |
If you are stalled, you can make a completely new plan starting from scratch.
|
| 492 |
"update_plan_post_messages": |-
|
| 493 |
-
You're still working towards solving this task:
|
| 494 |
-
```
|
| 495 |
-
{{task}}
|
| 496 |
-
```
|
| 497 |
-
You can leverage these tools:
|
| 498 |
-
{%- for tool in tools.values() %}
|
| 499 |
-
- {{ tool.name }}: {{ tool.description }}
|
| 500 |
-
Takes inputs: {{tool.inputs}}
|
| 501 |
-
Returns an output of type: {{tool.output_type}}
|
| 502 |
-
{%- endfor %}
|
| 503 |
-
|
| 504 |
-
{%- if managed_agents and managed_agents.values() | list %}
|
| 505 |
-
You can also give tasks to team members.
|
| 506 |
-
Calling a team member works the same as for calling a tool: simply, the only argument you can give in the call is 'task'.
|
| 507 |
-
Given that this team member is a real human, you should be very verbose in your task, it should be a long string providing informations as detailed as necessary.
|
| 508 |
-
Here is a list of the team members that you can call:
|
| 509 |
-
{%- for agent in managed_agents.values() %}
|
| 510 |
-
- {{ agent.name }}: {{ agent.description }}
|
| 511 |
-
{%- endfor %}
|
| 512 |
-
{%- else %}
|
| 513 |
-
{%- endif %}
|
| 514 |
-
|
| 515 |
-
Here is the up to date list of facts that you know:
|
| 516 |
-
```
|
| 517 |
-
{{facts_update}}
|
| 518 |
```
|
| 519 |
|
| 520 |
Now for the given task, develop a step-by-step high-level plan taking into account the above inputs and list of facts.
|
|
|
|
| 490 |
If the previous tries so far have met some success, you can make an updated plan based on these actions.
|
| 491 |
If you are stalled, you can make a completely new plan starting from scratch.
|
| 492 |
"update_plan_post_messages": |-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 493 |
```
|
| 494 |
|
| 495 |
Now for the given task, develop a step-by-step high-level plan taking into account the above inputs and list of facts.
|