mirror of
https://github.com/microsoft/autogen.git
synced 2025-12-27 06:59:03 +00:00
Update with correct message types (#5789)
Correcting an error: If CodeReviewResult is not approved, the coder agents sends a CodeReviewTask back to the reviewer agent, not a CodeWritingTask. Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
This commit is contained in:
parent
1b51e69602
commit
3d5e4c8d7b
@ -76,8 +76,8 @@
|
||||
"- The application sends a `CodeWritingTask` message to the coder agent\n",
|
||||
"- The coder agent generates a `CodeReviewTask` message, which is sent to the reviewer agent\n",
|
||||
"- The reviewer agent generates a `CodeReviewResult` message, which is sent back to the coder agent\n",
|
||||
"- Depending on the `CodeReview` message, if the code is approved, the coder agent sends a `CodeWritingResult` message\n",
|
||||
"back to the application, otherwise, the coder agent sends another `CodeWritingTask` message to the reviewer agent,\n",
|
||||
"- Depending on the `CodeReviewResult` message, if the code is approved, the coder agent sends a `CodeWritingResult` message\n",
|
||||
"back to the application, otherwise, the coder agent sends another `CodeReviewTask` message to the reviewer agent,\n",
|
||||
"and the process continues.\n",
|
||||
"\n",
|
||||
"We can visualize the message protocol using a data flow diagram:\n",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user