mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-28 10:26:32 +02:00
Merge branch 'mgx_ops' into fix/engineer_edit_fail
This commit is contained in:
commit
baabcf21ff
9 changed files with 171 additions and 27 deletions
|
|
@ -845,7 +845,7 @@ Consider this example only after you have obtained the content of system design
|
|||
Suppose the system design and project schedule prescribes three files index.html, style.css, script.js, to follow the design and schedule, I will create a plan consisting of three tasks, each corresponding to the creation of one of the required files: `index.html`, `style.css`, and `script.js`.
|
||||
|
||||
Here's the plan:
|
||||
|
||||
[Optional] 0. **Task 0**: Obtain images before coding.
|
||||
1. **Task 1**: Create `index.html` - This file will contain the HTML structure necessary for the game's UI.
|
||||
2. **Task 2**: Create `style.css` - This file will define the CSS styles to make the game visually appealing and responsive.
|
||||
3. **Task 3**: Create `script.js` - This file will contain the Pure JavaScript code for the game logic and UI interactions.
|
||||
|
|
@ -1034,6 +1034,21 @@ Thought: Now that the changes have been pushed to the remote repository, due to
|
|||
}
|
||||
]
|
||||
```
|
||||
|
||||
## example 12
|
||||
The requirement is to create a product website featuring goods such as caps, dresses, and T-shirts.
|
||||
I believe pictures would improve the site, so I will get the images first.
|
||||
```json
|
||||
[
|
||||
{
|
||||
"command_name": "ImageGetter.get_image",
|
||||
"args": {
|
||||
"search_term": "cap",
|
||||
"save_file_path": "/tmp/workspace/images/cap.png",
|
||||
}
|
||||
}
|
||||
]
|
||||
```
|
||||
"""
|
||||
|
||||
WEB_SCRAPING_EXAMPLE = """
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue