|
117 | 117 | " description=\"Assistant who has extra content retrieval power for solving difficult problems.\",\n",
|
118 | 118 | ")\n",
|
119 | 119 | "\n",
|
| 120 | + "\n", |
| 121 | + "coder_llm_config = llm_config.copy()\n", |
120 | 122 | "coder = AssistantAgent(\n",
|
121 | 123 | " name=\"Senior_Python_Engineer\",\n",
|
122 | 124 | " is_termination_msg=termination_msg,\n",
|
123 | 125 | " system_message=\"You are a senior python engineer, you provide python code to answer questions. Reply `TERMINATE` in the end when everything is done.\",\n",
|
124 |
| - " llm_config=llm_config,\n", |
| 126 | + " llm_config={\"config_list\": config_list},\n", |
125 | 127 | " description=\"Senior Python Engineer who can write code to solve problems and answer questions.\",\n",
|
126 | 128 | ")\n",
|
127 | 129 | "\n",
|
| 130 | + "pm_llm_config = llm_config.copy()\n", |
128 | 131 | "pm = autogen.AssistantAgent(\n",
|
129 | 132 | " name=\"Product_Manager\",\n",
|
130 | 133 | " is_termination_msg=termination_msg,\n",
|
131 | 134 | " system_message=\"You are a product manager. Reply `TERMINATE` in the end when everything is done.\",\n",
|
132 |
| - " llm_config=llm_config,\n", |
| 135 | + " llm_config={\"config_list\": config_list},\n", |
133 | 136 | " description=\"Product Manager who can design and plan the project.\",\n",
|
134 | 137 | ")\n",
|
135 | 138 | "\n",
|
| 139 | + "reviewer_llm_config = llm_config.copy()\n", |
136 | 140 | "reviewer = autogen.AssistantAgent(\n",
|
137 | 141 | " name=\"Code_Reviewer\",\n",
|
138 | 142 | " is_termination_msg=termination_msg,\n",
|
139 | 143 | " system_message=\"You are a code reviewer. Reply `TERMINATE` in the end when everything is done.\",\n",
|
140 |
| - " llm_config=llm_config,\n", |
| 144 | + " llm_config={\"config_list\": config_list},\n", |
141 | 145 | " description=\"Code Reviewer who can review the code.\",\n",
|
142 | 146 | ")\n",
|
143 | 147 | "\n",
|
|
0 commit comments