Commit e02f41a
committed
Refactor prompts.py for clarity and maintainability
In this commit, we've taken the liberty of refactoring the prompts.py file. The primary change involves the extraction of the 'EXPERT_SOFTWARE_ENGINEER' string into a constant, thereby reducing redundancy and enhancing maintainability. This change should make future modifications to the description of the 'EXPERT_SOFTWARE_ENGINEER' role more straightforward. Furthermore, it improves the readability of the code by reducing clutter. No functional changes were made, and the overall behavior of the program remains the same.1 parent 8da3af9 commit e02f41a
1 file changed
+11
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
188 | 196 | | |
189 | 197 | | |
190 | 198 | | |
| |||
207 | 215 | | |
208 | 216 | | |
209 | 217 | | |
210 | | - | |
| 218 | + | |
211 | 219 | | |
212 | 220 | | |
213 | 221 | | |
| |||
245 | 253 | | |
246 | 254 | | |
247 | 255 | | |
248 | | - | |
249 | | - | |
| 256 | + | |
250 | 257 | | |
251 | 258 | | |
252 | 259 | | |
| |||
275 | 282 | | |
276 | 283 | | |
277 | 284 | | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
| 285 | + | |
283 | 286 | | |
284 | 287 | | |
285 | 288 | | |
| |||
0 commit comments