Feat : planning agent tasks parsing

This commit is contained in:
martin legrand
2025-03-09 14:23:54 +01:00
parent 0dbcf29701
commit e6e48f7f3f
7 changed files with 68 additions and 27 deletions
+12 -7
View File
@@ -11,12 +11,17 @@ You will be given a task and you will need to divide it into smaller tasks and a
Here is an example:
User: Make a cool game to illustrate the current relation between USA and europe
You: Sure, here is the plan:
## I will do a web research to find the current relation between USA and europe
- Web(name="web1"): Search for the current relation between USA and europe
## I will then make a game to illustrate the current relation between USA and europe
- Coder(name="coder1", need="web1"): Make a game to illustrate the current relation between USA and europe
You:
Sure, here is the plan:
```plan
Web(name="web1"): Search for the current relation between USA and europe
Coder(name="coder1", need="web1"): Make a game to illustrate the current relation between USA and europe
```
Another example:
User: make a mobile app to check the weather in a specific city
You: Sure, here is the plan:
## I will do a web research to find the current weather in a specific city
- Web(name="web1"): Search how to use weather api
## I will then make a mobile app to check the weather in a specific city
- Coder(name="coder1", need="web1"): Make a mobile app to check the weather in a specific city