Skip to content

Commit c2213d4

Browse files
authored
Merge branch 'main' into teamchong/add-docker-compose
2 parents 2021bd2 + bbb1450 commit c2213d4

File tree

155 files changed

+46939
-23105
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

155 files changed

+46939
-23105
lines changed

CompanyConfig/Art/ChatChainConfig.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,11 @@
113113
"Chief Creative Officer"
114114
],
115115
"clear_structure": "True",
116-
"brainstorming": "False",
117116
"gui_design": "True",
118117
"git_management": "False",
119118
"self_improve": "False",
120-
"incremental_develop": "False"
121-
}
119+
"web_spider": "False",
120+
"incremental_develop": "False",
121+
"with_memory": "False",
122+
"background_prompt": "ChatDev is a software company powered by multiple intelligent agents, such as chief executive officer, chief human resources officer, chief product officer, chief technology officer, etc, with a multi-agent organizational structure and the mission of 'changing the digital world through programming'."
123+
}
Lines changed: 90 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -1,102 +1,99 @@
11
{
2-
"chain": [
3-
{
4-
"phase": "DemandAnalysis",
5-
"phaseType": "SimplePhase",
6-
"max_turn_step": -1,
7-
"need_reflect": "True"
8-
},
9-
{
10-
"phase": "LanguageChoose",
11-
"phaseType": "SimplePhase",
12-
"max_turn_step": -1,
13-
"need_reflect": "True"
14-
},
15-
{
16-
"phase": "Coding",
17-
"phaseType": "SimplePhase",
18-
"max_turn_step": 1,
19-
"need_reflect": "False"
20-
},
21-
{
22-
"phase": "CodeCompleteAll",
23-
"phaseType": "ComposedPhase",
24-
"cycleNum": 10,
25-
"Composition": [
2+
"chain": [{
3+
"phase": "DemandAnalysis",
4+
"phaseType": "SimplePhase",
5+
"max_turn_step": -1,
6+
"need_reflect": "True"
7+
},
268
{
27-
"phase": "CodeComplete",
28-
"phaseType": "SimplePhase",
29-
"max_turn_step": 1,
30-
"need_reflect": "False"
31-
}
32-
]
33-
},
34-
{
35-
"phase": "CodeReview",
36-
"phaseType": "ComposedPhase",
37-
"cycleNum": 3,
38-
"Composition": [
9+
"phase": "LanguageChoose",
10+
"phaseType": "SimplePhase",
11+
"max_turn_step": -1,
12+
"need_reflect": "True"
13+
},
3914
{
40-
"phase": "CodeReviewComment",
41-
"phaseType": "SimplePhase",
42-
"max_turn_step": 1,
43-
"need_reflect": "False"
15+
"phase": "Coding",
16+
"phaseType": "SimplePhase",
17+
"max_turn_step": 1,
18+
"need_reflect": "False"
4419
},
4520
{
46-
"phase": "CodeReviewModification",
47-
"phaseType": "SimplePhase",
48-
"max_turn_step": 1,
49-
"need_reflect": "False"
50-
}
51-
]
52-
},
53-
{
54-
"phase": "Test",
55-
"phaseType": "ComposedPhase",
56-
"cycleNum": 3,
57-
"Composition": [
21+
"phase": "CodeCompleteAll",
22+
"phaseType": "ComposedPhase",
23+
"cycleNum": 10,
24+
"Composition": [{
25+
"phase": "CodeComplete",
26+
"phaseType": "SimplePhase",
27+
"max_turn_step": 1,
28+
"need_reflect": "False"
29+
}]
30+
},
31+
{
32+
"phase": "CodeReview",
33+
"phaseType": "ComposedPhase",
34+
"cycleNum": 3,
35+
"Composition": [{
36+
"phase": "CodeReviewComment",
37+
"phaseType": "SimplePhase",
38+
"max_turn_step": 1,
39+
"need_reflect": "False"
40+
},
41+
{
42+
"phase": "CodeReviewModification",
43+
"phaseType": "SimplePhase",
44+
"max_turn_step": 1,
45+
"need_reflect": "False"
46+
}
47+
]
48+
},
49+
{
50+
"phase": "Test",
51+
"phaseType": "ComposedPhase",
52+
"cycleNum": 3,
53+
"Composition": [{
54+
"phase": "TestErrorSummary",
55+
"phaseType": "SimplePhase",
56+
"max_turn_step": 1,
57+
"need_reflect": "False"
58+
},
59+
{
60+
"phase": "TestModification",
61+
"phaseType": "SimplePhase",
62+
"max_turn_step": 1,
63+
"need_reflect": "False"
64+
}
65+
]
66+
},
5867
{
59-
"phase": "TestErrorSummary",
60-
"phaseType": "SimplePhase",
61-
"max_turn_step": 1,
62-
"need_reflect": "False"
68+
"phase": "EnvironmentDoc",
69+
"phaseType": "SimplePhase",
70+
"max_turn_step": 1,
71+
"need_reflect": "True"
6372
},
6473
{
65-
"phase": "TestModification",
66-
"phaseType": "SimplePhase",
67-
"max_turn_step": 1,
68-
"need_reflect": "False"
74+
"phase": "Manual",
75+
"phaseType": "SimplePhase",
76+
"max_turn_step": 1,
77+
"need_reflect": "False"
6978
}
70-
]
71-
},
72-
{
73-
"phase": "EnvironmentDoc",
74-
"phaseType": "SimplePhase",
75-
"max_turn_step": 1,
76-
"need_reflect": "True"
77-
},
78-
{
79-
"phase": "Manual",
80-
"phaseType": "SimplePhase",
81-
"max_turn_step": 1,
82-
"need_reflect": "False"
83-
}
84-
],
85-
"recruitments": [
86-
"Chief Executive Officer",
87-
"Counselor",
88-
"Chief Human Resource Officer",
89-
"Chief Product Officer",
90-
"Chief Technology Officer",
91-
"Programmer",
92-
"Code Reviewer",
93-
"Software Test Engineer",
94-
"Chief Creative Officer"
95-
],
96-
"clear_structure": "True",
97-
"brainstorming": "False",
98-
"gui_design": "True",
99-
"git_management": "False",
100-
"self_improve": "False",
101-
"incremental_develop": "False"
102-
}
79+
],
80+
"recruitments": [
81+
"Chief Executive Officer",
82+
"Counselor",
83+
"Chief Human Resource Officer",
84+
"Chief Product Officer",
85+
"Chief Technology Officer",
86+
"Programmer",
87+
"Code Reviewer",
88+
"Software Test Engineer",
89+
"Chief Creative Officer"
90+
],
91+
"clear_structure": "True",
92+
"gui_design": "True",
93+
"git_management": "False",
94+
"web_spider": "False",
95+
"self_improve": "False",
96+
"incremental_develop": "False",
97+
"with_memory": "False",
98+
"background_prompt": "ChatDev is a software company powered by multiple intelligent agents, such as chief executive officer, chief human resources officer, chief product officer, chief technology officer, etc, with a multi-agent organizational structure and the mission of 'changing the digital world through programming'."
99+
}

CompanyConfig/Default/PhaseConfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"phase_prompt": [
3737
"According to the new user's task and our software designs listed below: ",
3838
"Task: \"{task}\".",
39+
"Task description: \"{description}\".",
3940
"Modality: \"{modality}\".",
4041
"Programming Language: \"{language}\"",
4142
"Ideas:\"{ideas}\"",

CompanyConfig/Human/ChatChainConfig.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,11 @@
107107
"Chief Creative Officer"
108108
],
109109
"clear_structure": "True",
110-
"brainstorming": "False",
111110
"gui_design": "True",
112111
"git_management": "False",
113112
"self_improve": "False",
114-
"incremental_develop": "False"
113+
"web_spider": "False",
114+
"incremental_develop": "False",
115+
"with_memory": "False",
116+
"background_prompt": "ChatDev is a software company powered by multiple intelligent agents, such as chief executive officer, chief human resources officer, chief product officer, chief technology officer, etc, with a multi-agent organizational structure and the mission of 'changing the digital world through programming'."
115117
}

CompanyConfig/Human/PhaseConfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"phase_prompt": [
3737
"According to the new user's task and our software designs listed below: ",
3838
"Task: \"{task}\".",
39+
"Task description: \"{description}\".",
3940
"Modality: \"{modality}\".",
4041
"Programming Language: \"{language}\"",
4142
"Ideas:\"{ideas}\"",

CompanyConfig/Incremental/ChatChainConfig.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,11 @@
8888
"Chief Creative Officer"
8989
],
9090
"clear_structure": "True",
91-
"brainstorming": "False",
9291
"gui_design": "True",
9392
"git_management": "False",
9493
"self_improve": "False",
95-
"incremental_develop": "True"
94+
"web_spider": "False",
95+
"incremental_develop": "True",
96+
"with_memory": "False",
97+
"background_prompt": "ChatDev is a software company powered by multiple intelligent agents, such as chief executive officer, chief human resources officer, chief product officer, chief technology officer, etc, with a multi-agent organizational structure and the mission of 'changing the digital world through programming'."
9698
}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN pip install --no-cache-dir -r requirements.txt
1414
# Copy the rest of the application code
1515
COPY . .
1616

17-
# Expose the port for online_log/app.py
17+
# Expose the port for visualizer/app.py
1818
EXPOSE 8000
1919

2020
ARG DEFAULT_CMD=

0 commit comments

Comments
 (0)