Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: RFC116 & RFC135 #552

Merged
merged 272 commits into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
272 commits
Select commit Hold shift + click to select a range
96f29da
refactor: update notations
Nov 3, 2023
e49f8a0
refactor: update notations
Nov 3, 2023
67f07b6
refactor: update notations
Nov 3, 2023
ddd2d40
refactor: update notations
Nov 3, 2023
a996440
refactor: update notations
Nov 3, 2023
6bd9a76
refactor: update notations
Nov 3, 2023
17c5f80
refactor: update notations
Nov 3, 2023
953a003
refactor: update notations
Nov 3, 2023
b1386a0
refactor: update notations
Nov 3, 2023
2904799
refactor: update notations
Nov 3, 2023
bdf59b6
refactor: update notations
Nov 3, 2023
4b6745b
refactor: update notations
Nov 3, 2023
2c551c1
refactor: update notations
Nov 3, 2023
7e71ad8
refactor: update notations
Nov 3, 2023
55fe826
refactor: update notations
Nov 3, 2023
78f3f12
refactor: update notations
Nov 3, 2023
e667fb4
refactor: update notations
Nov 3, 2023
532099a
refactor: update notations
Nov 3, 2023
8137e1a
fixbug: creation of separate indices for each label
Nov 3, 2023
2688fe6
feat: According to the routing feature plan in Chapter 2.2.3.2 of RFC…
Nov 4, 2023
c4eb028
refactor: save -> dump
Nov 4, 2023
1febf16
refactor: Override cause_by
Nov 4, 2023
d977503
refactor: @cause_by.setter
Nov 4, 2023
56f544a
refactor: @cause_by.setter
Nov 4, 2023
8ea52d8
refactor: @cause_by.setter
Nov 4, 2023
87882bf
refactor: @cause_by.setter
Nov 4, 2023
b0d451d
refactor: @cause_by.setter
Nov 4, 2023
2129c90
refactor: @cause_by.setter
Nov 4, 2023
8f85d80
refactor: @cause_by.setter
Nov 4, 2023
2b2f29d
refactor: @cause_by.setter
Nov 4, 2023
9de646c
refactor: @cause_by.setter
Nov 4, 2023
e696442
refactor: @cause_by.setter
Nov 4, 2023
e86d8a3
refactor: @cause_by.setter
Nov 4, 2023
be77a9c
refactor: @cause_by.setter
Nov 4, 2023
3a5bfca
refactor: @cause_by.setter
Nov 4, 2023
327c047
refactor: @cause_by.setter
Nov 4, 2023
eba7f86
refactor: @cause_by.setter
Nov 4, 2023
ed7eb4d
refactor: @cause_by.setter
Nov 4, 2023
c6f97f7
refactor: tx_from/tx_to
Nov 6, 2023
c496b6b
feat: add default subscriptions to all Role
Nov 6, 2023
a045f73
feat: Support more versatile parameter formats.
Nov 6, 2023
93ebe8c
feat: recover `history`
Nov 7, 2023
af4c87e
refactor: rename is_recipient
Nov 8, 2023
c18bc7c
refactor: Simplify the Message class.
Nov 8, 2023
09fe459
refactor: According to RFC 116: Updated the type of index key.
Nov 8, 2023
e5c792e
refactor: According to RFC 116: Updated the type of index key.
Nov 8, 2023
47d47d2
refactor: According to RFC 113, add message dispatching functionality.
Nov 8, 2023
7e83a4b
refactor: According to RFC 116: Updated the type of send_to.
Nov 8, 2023
01f23d6
refactor: In accordance with Chapter 2.1.3 of RFC 116, modify the dat…
Nov 8, 2023
c502b14
refactor: In accordance with Chapter 2.1.3 of RFC 116, modify the dat…
Nov 8, 2023
d9939f4
refactor: Update according to Chapter 2.1.3.2 of RFC 116
Nov 8, 2023
d232725
refactor: Update according to Chapter 2.1.3.2 of RFC 116
Nov 8, 2023
f47977d
refactor: Update according to Chapter 2.1.3.2 of RFC 116
Nov 8, 2023
9cdbc0a
refactor: Update according to Chapter 2.1.3.2 of RFC 116
Nov 8, 2023
d1977f1
refactor: Update according to Chapter 2.1.3.2 of RFC 116
Nov 8, 2023
7a2193c
refactor: Update according to Chapter 2.1.3.2 of RFC 116
Nov 8, 2023
1ff99b9
refactor: Update according to Chapter 2.1.3.2 of RFC 116
Nov 8, 2023
c9f9c5c
refactor: Update according to Chapter 2.1.3.2 of RFC 116
Nov 8, 2023
894a2fd
refactor: Update according to Chapter 2.1.3.2 of RFC 116
Nov 8, 2023
be19d9e
refactor: Update according to Chapter 2.1.3.2 of RFC 116
Nov 8, 2023
fba7045
refactor: Update according to Chapter 2.1.3.2 of RFC 116
Nov 8, 2023
ac32cb5
refactor: Update according to Chapter 2.1.3.2 of RFC 116
Nov 8, 2023
df4ff5f
refactor: Update according to Chapter 2.1.3.2 of RFC 116
Nov 8, 2023
c4ac0c7
refactor: Update according to Chapter 2.1.3.2 of RFC 116
Nov 8, 2023
bb05014
refactor: Update according to Chapter 2.1.3.2 of RFC 116
Nov 8, 2023
7504ed5
fixbug: recursive import
Nov 9, 2023
ea9875a
fixbug: recursive import
Nov 9, 2023
ff11cf6
fixbug: utilize the new message filtering feature
Nov 9, 2023
1be1bb5
fixbug: utilize the new message filtering feature
Nov 9, 2023
a3cb2b4
feat: replace get_class_name and get_object_name
Nov 10, 2023
d36b4e2
refactor: replace obj with role
Nov 10, 2023
3c38c5c
refactor: get_class_name
Nov 10, 2023
710bc40
refactor: get_class_name
Nov 10, 2023
60bad18
refactor: get_class_name
Nov 10, 2023
83a5e03
refactor: get_class_name
Nov 10, 2023
a61f3f8
refactor: get_by_action(s)
Nov 10, 2023
bb8e246
refactor: cause_by
Nov 10, 2023
fc63cdf
refactor: cause_by
Nov 10, 2023
9ebd1d1
refactor: notation
Nov 10, 2023
b1a14d0
refactor: notation
Nov 10, 2023
e8eeb6c
refactor: notation
Nov 10, 2023
efe6ead
refactor: notation
Nov 10, 2023
44aa1dd
refactor: cause_by
Nov 10, 2023
7fb33fd
refactor: cause_by
Nov 10, 2023
d9a7443
refactor: notation
Nov 10, 2023
282a86b
refactor: unit tests
Nov 10, 2023
2374921
refactor: rename
Nov 12, 2023
962109b
refactor: notation
Nov 13, 2023
c2ffee6
refactor: remove useless code
Nov 13, 2023
0cf6ec1
feat: +git repo
Nov 20, 2023
9c5f7c7
feat: +annotation
Nov 20, 2023
f1fb3b3
feat: +annotation
Nov 20, 2023
363be23
feat: +annotation
Nov 20, 2023
af716c6
feat: +annotation
Nov 20, 2023
990d791
feat: archive
Nov 20, 2023
9f7da1c
feat: archive
Nov 20, 2023
913cfae
feat: archive
Nov 20, 2023
f6dab7e
Merge branch 'feature/rfc135_git_repository_shenquanma' into feature/…
Nov 20, 2023
29003a9
feat: +file repository
Nov 20, 2023
85e3620
feat: +file repository
Nov 20, 2023
d9a2626
feat: +PrepareDocuments
Nov 21, 2023
b73cbe7
feat: +unit test
Nov 21, 2023
27c731d
feat: archive
Nov 21, 2023
5142cb5
refactor: consumers -> members
Nov 22, 2023
cda0329
refactor: pre-commit run --all-files
Nov 22, 2023
d269d18
Merge pull request #502 from iorisa/refactor/pre-commit_shenquan
stellaHSR Nov 22, 2023
84d9f98
Merge pull request #19 from geekan/env_refactor
iorisa Nov 22, 2023
20ae74e
feat: Merge geekan:env_refactore
Nov 22, 2023
2bf8ef8
feat: RFC 135
Nov 22, 2023
fb2167c
feat: merge geekan:env_factor
Nov 22, 2023
e9471ed
feat: merge rfc116
Nov 22, 2023
9339eab
feat: archive
Nov 22, 2023
e813165
refactor: write prd & system design
Nov 22, 2023
62d9351
refactor: write prd & system design
Nov 22, 2023
369047e
refactor: write prd & system design
Nov 22, 2023
438fbe2
refactor: save files
Nov 23, 2023
0fdeab3
fixbug: Message was incorrectly filtered by the profile.
Nov 23, 2023
2032a38
feat: rewrite Engineer & WriteCode & WriteCodeReview
Nov 23, 2023
13b3730
Merge branch 'feature/rfc116_shenquanma' into feature/rfc135_shenquanma
Nov 23, 2023
66cff90
fixbug: Delete the incorrect message.
Nov 23, 2023
9a3c92e
fixbug: send useless message to nobody from QaEngineer
Nov 23, 2023
3e8bba7
fixbug: send useless message to nobody from QaEngineer
Nov 23, 2023
ec3dd00
feat: Change the operation of transmitting file content during the QA…
Nov 23, 2023
0c201d1
feat: merge rfc116
Nov 23, 2023
6d77cd8
refactor: delete useless codes
Nov 23, 2023
10d9f33
refactor: use MESSAGE_ROUTE_TO_NONE
Nov 23, 2023
75dcc8d
fixbug: DebugError
Nov 24, 2023
45be71d
fixbug: DebugError
Nov 24, 2023
938fa8a
feat: git archive
Nov 24, 2023
8ce6914
feat: git archive
Nov 24, 2023
882f22d
feat: 流程调通
Nov 24, 2023
e1cabca
feat: +annotation
Nov 27, 2023
86c5e5e
feat: +annotation
Nov 27, 2023
22c5077
feat: +annotation
Nov 27, 2023
57d826a
feat: +annotation
Nov 27, 2023
759c837
feat: +annotation
Nov 27, 2023
c483d0d
feat: +annotation
Nov 27, 2023
5ea488d
feat: +annotation
Nov 27, 2023
a405b47
feat: +annotation
Nov 27, 2023
0f03645
feat: +annotation
Nov 27, 2023
9c13958
feat: +annotation
Nov 27, 2023
16226a2
feat: +annotation
Nov 27, 2023
512e205
feat: +annotation
Nov 27, 2023
fbd2463
feat: +annotation
Nov 27, 2023
628ecc0
feat: +annotation
Nov 27, 2023
331d740
1. 动作优化
geekan Nov 20, 2023
715a1d8
fix config
geekan Nov 27, 2023
22288a3
1. 动作优化
geekan Nov 27, 2023
70a0be3
feat: +annotation
Nov 27, 2023
ad6cf62
feat: +annotation
Nov 27, 2023
94ab03d
feat: +annotation
Nov 27, 2023
41549e6
feat: +annotation
Nov 27, 2023
e656e55
feat: +annotation
Nov 27, 2023
4c296a3
feat: +annotation
Nov 27, 2023
0c84c2c
feat: +annotation
Nov 27, 2023
bd5daeb
feat: +annotation
Nov 27, 2023
66fc1b8
feat: merge geekan:main
Nov 27, 2023
45e48c8
feat: merge geekan:main
Nov 27, 2023
62f0745
Merge pull request #22 from geekan/main
iorisa Nov 27, 2023
5b5d6d9
Merge branch 'cli-etc' of https://github.com/geekan/MetaGPT into feat…
Nov 27, 2023
ef9a925
feat: + gitpython 3.1.40
Nov 27, 2023
4c99107
refactor: 代码优化
Nov 27, 2023
81e719f
refactor: 代码优化
Nov 27, 2023
fa675ea
refactor: 代码优化
Nov 27, 2023
726eadf
refactor: 代码优化
Nov 27, 2023
2cd7d26
feat: merge Config class of send18:dev branch
Nov 27, 2023
b794e5d
feat: fix memory.add
Nov 28, 2023
9745dd1
feat: fix memory.add
Nov 28, 2023
2d1d55f
feat: send_to="Edward", # name of QaEngineer
Nov 28, 2023
49f0b5e
feat: fix memory.add
Nov 28, 2023
f2de34f
feat: fix memory.add
Nov 28, 2023
52b674a
Merge branch 'feature/rfc116_shenquanma' into feature/rfc135_shenquanma
Nov 28, 2023
78548c2
feat: merge geekan:cli-etc
Nov 28, 2023
db9e900
feat: merge geekan:cli-etc
Nov 29, 2023
f564bb5
feat: merge geekan:cli-etc
Nov 29, 2023
eff1cb7
feat: Add 'id' to 'Message' according to Section 2.2.3.1.1 of RFC 135.
Nov 29, 2023
7b44fcc
feat: merge geekan:cli-etc
Nov 29, 2023
94043a8
feat: merge geekan:cli-etc
Nov 29, 2023
09b6d2d
feat: merge geekan:cli-etc
Nov 29, 2023
6fa3dee
feat: merge geekan:cli-etc
Nov 29, 2023
810768a
feat: merge geekan:cli-etc
Nov 29, 2023
cd24931
feat: merge geekan:cli-etc
Nov 29, 2023
e34b8bb
feat: merge geekan:cli-etc
Nov 29, 2023
6e0fc04
feat: merge geekan:cli-etc
Nov 29, 2023
4928a89
feat: merge geekan:cli-etc
Nov 30, 2023
6010ce7
feat: merge geekan:cli-etc
Nov 30, 2023
5351b50
feat: merge geekan:cli-etc
Nov 30, 2023
17bf646
feat: merge geekan:cli-etc
Nov 30, 2023
2d93ff2
feat: merge RFC 116
Nov 30, 2023
ecbb75e
feat: merge RFC 116
Nov 30, 2023
59d97c7
feat: merge RFC 135
Nov 30, 2023
6146d4d
feat: merge RFC 135
Nov 30, 2023
040cb33
Merge branch 'feature/rfc135_shenquanma' into feature/rfc135_merge_se…
Nov 30, 2023
6f3d1d6
fixbug: 增量更新时需求没写入docs/requirement.txt
Nov 30, 2023
269eee4
fixbug: The assumption that messages in 'memory' have been processed …
Nov 30, 2023
5c149ef
fixbug: The assumption that messages in 'memory' have been processed …
Nov 30, 2023
053eac6
feat: +annotation
Dec 1, 2023
7be37fc
Merge branch 'feature/rfc135_shenquanma' into feature/rfc135_merge_se…
Dec 4, 2023
739348e
feat: merge feature/rfc135_merge_send18_dev_config
Dec 4, 2023
4845daf
feat: +log
Dec 4, 2023
b3aa0a7
Merge pull request #474 from iorisa/feature/refactor_shenquan
garylin2099 Dec 4, 2023
838b3cf
Merge pull request #515 from iorisa/feature/rfc135_merge_geekan_cli_etc
stellaHSR Dec 4, 2023
3770325
feat: +SummarizeCode, refactor project_name
Dec 4, 2023
2e0a847
fixbug
Dec 7, 2023
ef633b7
fixbug: move dir
Dec 7, 2023
9d84c8f
feat: +SummarizeCode, refactor project_name
Dec 4, 2023
769dc82
Merge branch 'fixbug/rfc135_shenquan' of https://github.com/iorisa/Me…
Dec 8, 2023
5ee36ca
Merge pull request #525 from iorisa/fixbug/rfc135_shenquan
stellaHSR Dec 8, 2023
ec8c703
feat: merge geekan:main
Dec 8, 2023
ad17a2d
Merge pull request #538 from iorisa/feature/merge_main
stellaHSR Dec 8, 2023
6f8fa76
feat: rebase from geekan:main
Dec 8, 2023
b4eb8e4
use metagpt cli instead. update all related docs
geekan Dec 11, 2023
9a36159
use metagpt cli instead. update all related docs
geekan Dec 11, 2023
292344c
change all mail address from fuzhi.ai to deepwisdom.ai
geekan Dec 11, 2023
687e173
use python3 instead of python
geekan Dec 11, 2023
4fcfa90
feat: rebase geekan:main
Dec 12, 2023
35f2552
Merge pull request #541 from iorisa/rebase/geekan/env_refactor
stellaHSR Dec 12, 2023
697f790
bugfix: write code add related code file context
Dec 12, 2023
d759b4d
Merge pull request #553 from iorisa/fixbug/writecode_shenquan
geekan Dec 12, 2023
4cb3485
feat: After users provide bug feedback, move directly to the WriteCod…
Dec 12, 2023
459e937
Merge pull request #555 from iorisa/feature/fixbug_shenquan
geekan Dec 12, 2023
88bbc75
fixbug: gitignore error after project renamed
Dec 13, 2023
e6102bc
Merge pull request #557 from iorisa/fixbug/git_repo_shenquan
geekan Dec 14, 2023
ad0e5a6
action_node: make it work at first step.
geekan Dec 12, 2023
bfdb841
tuning action node code
geekan Dec 13, 2023
5d7c228
tuning action node code
geekan Dec 13, 2023
c0bcf57
Transfer Action usage to ActionNode for subsequent structured reasoni…
geekan Dec 14, 2023
39cb663
fix typo
geekan Dec 14, 2023
609d75a
add programming language as input, add complex strgy to ActionNode.fi…
geekan Dec 14, 2023
829dfd8
feat: merge geekan:main
Dec 14, 2023
290fb8b
refactor: format
Dec 14, 2023
c24b3ff
feat: merge geekan:env_refactor
Dec 14, 2023
ce1895a
feat: Assume it's new requirements if the code directory does not exist
Dec 14, 2023
5be4b5f
Merge pull request #561 from iorisa/merge/geekan/main_to_env_refactor
geekan Dec 14, 2023
8435765
resolve conflicts
geekan Dec 14, 2023
ad0ac94
fix code review performance drop
geekan Dec 14, 2023
ccecb45
resolve conflicts
geekan Dec 14, 2023
222694c
fix bugs
geekan Dec 14, 2023
126bcda
fix error msg
geekan Dec 15, 2023
862707d
use react instead of _react
geekan Dec 15, 2023
b97ca3a
feat: resolve conflicts
geekan Dec 14, 2023
53c2fe0
Merge branch 'geekan/env_refactor' into merge/geekan/main_to_env_refa…
Dec 15, 2023
6095737
tuning log level
geekan Dec 15, 2023
919a186
Merge pull request #563 from iorisa/merge/geekan/main_to_env_refactor
geekan Dec 15, 2023
3a448a7
config: adjust default values
geekan Dec 15, 2023
2c68b42
action: add example
geekan Dec 15, 2023
bc9f0f1
workspace path update
geekan Dec 15, 2023
a3d7b0f
CR update
geekan Dec 15, 2023
df2e9a1
workspace path update
geekan Dec 15, 2023
aae81c1
Merge pull request #564 from iorisa/fixbug/geekan/env_refactor
garylin2099 Dec 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ cover/

# Django stuff:
*.log
logs
local_settings.py
db.sqlite3
db.sqlite3-journal
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

# MetaGPT: The Multi-Agent Framework

<p align="center">
Expand Down Expand Up @@ -50,9 +51,9 @@ git clone https://github.com/geekan/MetaGPT.git
cd MetaGPT
pip3 install -e. # or pip3 install metagpt # for stable version

# Step 3: run the startup.py
# Step 3: run metagpt cli
# setup your OPENAI_API_KEY in key.yaml copy from config.yaml
python3 startup.py "Write a cli snake game"
metagpt "Write a cli snake game"

# Step 4 [Optional]: If you want to save the artifacts like diagrams such as quadrant chart, system designs, sequence flow in the workspace, you can execute the step before Step 3. By default, the framework is compatible, and the entire process can be run completely without executing this step.
# If executing, ensure that NPM is installed on your system. Then install mermaid-js. (If you don't have npm in your computer, please go to the Node.js official website to install Node.js https://nodejs.org/ and then you will have npm tool in your computer.)
Expand All @@ -78,7 +79,7 @@ docker run --rm \
-v /opt/metagpt/config/key.yaml:/app/metagpt/config/key.yaml \
-v /opt/metagpt/workspace:/app/metagpt/workspace \
metagpt/metagpt:latest \
python startup.py "Write a cli snake game"
metagpt "Write a cli snake game"
```

detail installation please refer to [docker_install](https://docs.deepwisdom.ai/guide/get_started/installation.html#install-with-docker)
Expand Down Expand Up @@ -117,7 +118,7 @@ Looking forward to seeing you there! 🎉

If you have any questions or feedback about this project, please feel free to contact us. We highly appreciate your suggestions!

- **Email:** alexanderwu@fuzhi.ai
- **Email:** alexanderwu@deepwisdom.ai
- **GitHub Issues:** For more technical inquiries, you can also create a new issue in our [GitHub repository](https://github.com/geekan/metagpt/issues).

We will respond to all questions within 2-3 business days.
Expand Down
16 changes: 8 additions & 8 deletions config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
## Or, you can configure OPENAI_PROXY to access official OPENAI_API_BASE.
OPENAI_API_BASE: "https://api.openai.com/v1"
#OPENAI_PROXY: "http://127.0.0.1:8118"
#OPENAI_API_KEY: "YOUR_API_KEY" # set the value to sk-xxx if you host the openai interface for open llm model
OPENAI_API_MODEL: "gpt-4"
MAX_TOKENS: 1500
#OPENAI_API_KEY: "YOUR_API_KEY" # set the value to sk-xxx if you host the openai interface for open llm model
OPENAI_API_MODEL: "gpt-4-1106-preview"
MAX_TOKENS: 4096
RPM: 10

#### if Spark
Expand Down Expand Up @@ -77,8 +77,8 @@ RPM: 10

#### for Stable Diffusion
## Use SD service, based on https://github.com/AUTOMATIC1111/stable-diffusion-webui
SD_URL: "YOUR_SD_URL"
SD_T2I_API: "/sdapi/v1/txt2img"
#SD_URL: "YOUR_SD_URL"
#SD_T2I_API: "/sdapi/v1/txt2img"

#### for Execution
#LONG_TERM_MEMORY: false
Expand All @@ -93,8 +93,8 @@ SD_T2I_API: "/sdapi/v1/txt2img"
# CALC_USAGE: false

### for Research
MODEL_FOR_RESEARCHER_SUMMARY: gpt-3.5-turbo
MODEL_FOR_RESEARCHER_REPORT: gpt-3.5-turbo-16k
# MODEL_FOR_RESEARCHER_SUMMARY: gpt-3.5-turbo
# MODEL_FOR_RESEARCHER_REPORT: gpt-3.5-turbo-16k

### choose the engine for mermaid conversion,
# default is nodejs, you can change it to playwright,pyppeteer or ink
Expand All @@ -108,4 +108,4 @@ MODEL_FOR_RESEARCHER_REPORT: gpt-3.5-turbo-16k
### repair operation on the content extracted from LLM's raw output. Warning, it improves the result but not fix all cases.
# REPAIR_LLM_OUTPUT: false

PROMPT_FORMAT: json #json or markdown
# PROMPT_FORMAT: json #json or markdown
4 changes: 2 additions & 2 deletions docs/FAQ-EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ MetaGPT Community - The position of Chief Evangelist rotates on a monthly basis.

1. How to change the investment amount?

1. You can view all commands by typing `python startup.py --help`
1. You can view all commands by typing `metagpt --help`

1. Which version of Python is more stable?

Expand Down Expand Up @@ -134,7 +134,7 @@ MetaGPT Community - The position of Chief Evangelist rotates on a monthly basis.

1. Configuration instructions for SD Skills: The SD interface is currently deployed based on *https://github.com/AUTOMATIC1111/stable-diffusion-webui* **For environmental configurations and model downloads, please refer to the aforementioned GitHub repository. To initiate the SD service that supports API calls, run the command specified in cmd with the parameter nowebui, i.e.,

1. > python webui.py --enable-insecure-extension-access --port xxx --no-gradio-queue --nowebui
1. > python3 webui.py --enable-insecure-extension-access --port xxx --no-gradio-queue --nowebui
1.     Once it runs without errors, the interface will be accessible after approximately 1 minute when the model finishes loading.
1. Configure SD_URL and SD_T2I_API in the config.yaml/key.yaml files.
1. ![](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/065295a67b0b4feea665d1372722d49d~tplv-k3u1fbpfcp-zoom-1.image)
Expand Down
8 changes: 4 additions & 4 deletions docs/README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ git clone https://github.com/geekan/MetaGPT.git
cd MetaGPT
pip3 install -e. # 或者 pip3 install metagpt # 安装稳定版本

# 第 3 步:执行startup.py
# 第 3 步:执行metagpt
# 拷贝config.yaml为key.yaml,并设置你自己的OPENAI_API_KEY
python3 startup.py "Write a cli snake game"
metagpt "Write a cli snake game"

# 第 4 步【可选的】:如果你想在执行过程中保存像象限图、系统设计、序列流程等图表这些产物,可以在第3步前执行该步骤。默认的,框架做了兼容,在不执行该步的情况下,也可以完整跑完整个流程。
# 如果执行,确保您的系统上安装了 NPM。并使用npm安装mermaid-js
Expand All @@ -75,7 +75,7 @@ docker run --rm \
-v /opt/metagpt/config/key.yaml:/app/metagpt/config/key.yaml \
-v /opt/metagpt/workspace:/app/metagpt/workspace \
metagpt/metagpt:latest \
python startup.py "Write a cli snake game"
metagpt "Write a cli snake game"
```

详细的安装请安装 [docker_install](https://docs.deepwisdom.ai/zhcn/guide/get_started/installation.html#%E4%BD%BF%E7%94%A8docker%E5%AE%89%E8%A3%85)
Expand Down Expand Up @@ -114,7 +114,7 @@ https://github.com/geekan/MetaGPT/assets/34952977/34345016-5d13-489d-b9f9-b82ace

如果您对这个项目有任何问题或反馈,欢迎联系我们。我们非常欢迎您的建议!

- **邮箱:** alexanderwu@fuzhi.ai
- **邮箱:** alexanderwu@deepwisdom.ai
- **GitHub 问题:** 对于更技术性的问题,您也可以在我们的 [GitHub 仓库](https://github.com/geekan/metagpt/issues) 中创建一个新的问题。

我们会在2-3个工作日内回复所有问题。
Expand Down
28 changes: 14 additions & 14 deletions docs/README_JA.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ https://github.com/geekan/MetaGPT/assets/34952977/34345016-5d13-489d-b9f9-b82ace

## 例(GPT-4 で完全生成)

例えば、`python startup.py "Toutiao のような RecSys をデザインする"`と入力すると、多くの出力が得られます
例えば、`metagpt "Toutiao のような RecSys をデザインする"`と入力すると、多くの出力が得られます

![Jinri Toutiao Recsys データと API デザイン](resources/workspace/content_rec_sys/resources/data_api_design.png)

Expand All @@ -60,16 +60,16 @@ https://github.com/geekan/MetaGPT/assets/34952977/34345016-5d13-489d-b9f9-b82ace

```bash
# ステップ 1: Python 3.9+ がシステムにインストールされていることを確認してください。これを確認するには:
python --version
python3 --version

# ステップ 2: リポジトリをローカルマシンにクローンし、インストールする。
git clone https://github.com/geekan/MetaGPT.git
cd MetaGPT
pip install -e.

# ステップ 3: startup.py を実行する
# ステップ 3: metagpt を実行する
# config.yaml を key.yaml にコピーし、独自の OPENAI_API_KEY を設定します
python3 startup.py "Write a cli snake game"
metagpt "Write a cli snake game"

# ステップ 4 [オプション]: 実行中に PRD ファイルなどのアーティファクトを保存する場合は、ステップ 3 の前にこのステップを実行できます。デフォルトでは、フレームワークには互換性があり、この手順を実行しなくてもプロセス全体を完了できます。
# NPM がシステムにインストールされていることを確認してください。次に mermaid-js をインストールします。(お使いのコンピューターに npm がない場合は、Node.js 公式サイトで Node.js https://nodejs.org/ をインストールしてください。)
Expand Down Expand Up @@ -178,7 +178,7 @@ docker run --rm \
-v /opt/metagpt/config/key.yaml:/app/metagpt/config/key.yaml \
-v /opt/metagpt/workspace:/app/metagpt/workspace \
metagpt/metagpt:latest \
python startup.py "Write a cli snake game"
metagpt "Write a cli snake game"

# コンテナを起動し、その中でコマンドを実行することもできます
docker run --name metagpt -d \
Expand All @@ -188,15 +188,15 @@ docker run --name metagpt -d \
metagpt/metagpt:latest

docker exec -it metagpt /bin/bash
$ python startup.py "Write a cli snake game"
$ metagpt "Write a cli snake game"
```

コマンド `docker run ...` は以下のことを行います:

- 特権モードで実行し、ブラウザの実行権限を得る
- ホスト設定ファイル `/opt/metagpt/config/key.yaml` をコンテナ `/app/metagpt/config/key.yaml` にマップします
- ホストディレクトリ `/opt/metagpt/workspace` をコンテナディレクトリ `/app/metagpt/workspace` にマップするs
- デモコマンド `python startup.py "Write a cli snake game"` を実行する
- デモコマンド `metagpt "Write a cli snake game"` を実行する

### 自分でイメージをビルドする

Expand Down Expand Up @@ -225,11 +225,11 @@ cp config/config.yaml config/key.yaml

```shell
# スクリプトの実行
python startup.py "Write a cli snake game"
metagpt "Write a cli snake game"
# プロジェクトの実施にエンジニアを雇わないこと
python startup.py "Write a cli snake game" --implement False
metagpt "Write a cli snake game" --no-implement
# エンジニアを雇い、コードレビューを行う
python startup.py "Write a cli snake game" --code_review True
metagpt "Write a cli snake game" --code_review
```

スクリプトを実行すると、`workspace/` ディレクトリに新しいプロジェクトが見つかります。
Expand All @@ -239,17 +239,17 @@ python startup.py "Write a cli snake game" --code_review True
要件を述べるときに、どのプラットフォームまたはツールを使用するかを指定できます。

```shell
python startup.py "pygame をベースとした cli ヘビゲームを書く"
metagpt "pygame をベースとした cli ヘビゲームを書く"
```

### 使用方法

```
会社名
startup.py - 私たちは AI で構成されたソフトウェア・スタートアップです。私たちに投資することは、無限の可能性に満ちた未来に力を与えることです。
metagpt - 私たちは AI で構成されたソフトウェア・スタートアップです。私たちに投資することは、無限の可能性に満ちた未来に力を与えることです。

シノプシス
startup.py IDEA <flags>
metagpt IDEA <flags>

説明
私たちは AI で構成されたソフトウェア・スタートアップです。私たちに投資することは、無限の可能性に満ちた未来に力を与えることです。
Expand Down Expand Up @@ -317,7 +317,7 @@ Hugging Face Space で試す

このプロジェクトに関するご質問やご意見がございましたら、お気軽にお問い合わせください。皆様のご意見をお待ちしております!

- **Email:** alexanderwu@fuzhi.ai
- **Email:** alexanderwu@deepwisdom.ai
- **GitHub Issues:** 技術的なお問い合わせについては、[GitHub リポジトリ](https://github.com/geekan/metagpt/issues) に新しい issue を作成することもできます。

ご質問には 2-3 営業日以内に回答いたします。
Expand Down
2 changes: 1 addition & 1 deletion docs/install/cli_install_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ npm --version
sudo npm install -g @mermaid-js/mermaid-cli

# 第 2 步:确保您的系统上安装了 Python 3.9+。您可以使用以下命令进行检查:
python --version
python3 --version

# 第 3 步:克隆仓库到您的本地机器,并进行安装。
git clone https://github.com/geekan/MetaGPT.git
Expand Down
6 changes: 3 additions & 3 deletions docs/install/docker_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ docker run --rm \
-v /opt/metagpt/config/key.yaml:/app/metagpt/config/key.yaml \
-v /opt/metagpt/workspace:/app/metagpt/workspace \
metagpt/metagpt:latest \
python3 startup.py "Write a cli snake game"
metagpt "Write a cli snake game"

# You can also start a container and execute commands in it
docker run --name metagpt -d \
Expand All @@ -25,15 +25,15 @@ docker run --name metagpt -d \
metagpt/metagpt:latest

docker exec -it metagpt /bin/bash
$ python3 startup.py "Write a cli snake game"
$ metagpt "Write a cli snake game"
```

The command `docker run ...` do the following things:

- Run in privileged mode to have permission to run the browser
- Map host configure file `/opt/metagpt/config/key.yaml` to container `/app/metagpt/config/key.yaml`
- Map host directory `/opt/metagpt/workspace` to container `/app/metagpt/workspace`
- Execute the demo command `python3 startup.py "Write a cli snake game"`
- Execute the demo command `metagpt "Write a cli snake game"`

### Build image by yourself

Expand Down
6 changes: 3 additions & 3 deletions docs/install/docker_install_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ docker run --rm \
-v /opt/metagpt/config/key.yaml:/app/metagpt/config/key.yaml \
-v /opt/metagpt/workspace:/app/metagpt/workspace \
metagpt/metagpt:latest \
python startup.py "Write a cli snake game"
metagpt "Write a cli snake game"

# 您也可以启动一个容器并在其中执行命令
docker run --name metagpt -d \
Expand All @@ -25,15 +25,15 @@ docker run --name metagpt -d \
metagpt/metagpt:latest

docker exec -it metagpt /bin/bash
$ python startup.py "Write a cli snake game"
$ metagpt "Write a cli snake game"
```

`docker run ...`做了以下事情:

- 以特权模式运行,有权限运行浏览器
- 将主机文件 `/opt/metagpt/config/key.yaml` 映射到容器文件 `/app/metagpt/config/key.yaml`
- 将主机目录 `/opt/metagpt/workspace` 映射到容器目录 `/app/metagpt/workspace`
- 执行示例命令 `python startup.py "Write a cli snake game"`
- 执行示例命令 `metagpt "Write a cli snake game"`

### 自己构建镜像

Expand Down
12 changes: 6 additions & 6 deletions docs/tutorial/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ cp config/config.yaml config/key.yaml

```shell
# Run the script
python startup.py "Write a cli snake game"
metagpt "Write a cli snake game"
# Do not hire an engineer to implement the project
python startup.py "Write a cli snake game" --implement False
metagpt "Write a cli snake game" --no-implement
# Hire an engineer and perform code reviews
python startup.py "Write a cli snake game" --code_review True
metagpt "Write a cli snake game" --code_review
```

After running the script, you can find your new project in the `workspace/` directory.
Expand All @@ -33,17 +33,17 @@ After running the script, you can find your new project in the `workspace/` dire
You can tell which platform or tool you want to use when stating your requirements.

```shell
python startup.py "Write a cli snake game based on pygame"
metagpt "Write a cli snake game based on pygame"
```

### Usage

```
NAME
startup.py - We are a software startup comprised of AI. By investing in us, you are empowering a future filled with limitless possibilities.
metagpt - We are a software startup comprised of AI. By investing in us, you are empowering a future filled with limitless possibilities.

SYNOPSIS
startup.py IDEA <flags>
metagpt IDEA <flags>

DESCRIPTION
We are a software startup comprised of AI. By investing in us, you are empowering a future filled with limitless possibilities.
Expand Down
10 changes: 5 additions & 5 deletions docs/tutorial/usage_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ cp config/config.yaml config/key.yaml
### 示例:启动一个创业公司

```shell
python startup.py "写一个命令行贪吃蛇"
metagpt "写一个命令行贪吃蛇"
# 开启code review模式会花费更多的金钱, 但是会提升代码质量和成功率
python startup.py "写一个命令行贪吃蛇" --code_review True
metagpt "写一个命令行贪吃蛇" --code_review
```

运行脚本后,您可以在 `workspace/` 目录中找到您的新项目。
Expand All @@ -29,17 +29,17 @@ python startup.py "写一个命令行贪吃蛇" --code_review True
可以在阐述需求时说明想要使用的平台或工具。
例如:
```shell
python startup.py "写一个基于pygame的命令行贪吃蛇"
metagpt "写一个基于pygame的命令行贪吃蛇"
```

### 使用

```
名称
startup.py - 我们是一家AI软件创业公司。通过投资我们,您将赋能一个充满无限可能的未来。
metagpt - 我们是一家AI软件创业公司。通过投资我们,您将赋能一个充满无限可能的未来。

概要
startup.py IDEA <flags>
metagpt IDEA <flags>

描述
我们是一家AI软件创业公司。通过投资我们,您将赋能一个充满无限可能的未来。
Expand Down
Loading