Skip to content

Commit

Permalink
Fix prompt logic when defining to who the message should be sent.
Browse files Browse the repository at this point in the history
With the previous logic, it was possible to reach an undefined state
where it was not meant to be sent to Engineer, QaEngineer, nor NoOne.
  • Loading branch information
arnaudgelas committed Jan 22, 2024
1 parent b5922d4 commit 91c5c72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metagpt/actions/run_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
Determine if all of the code works fine, if so write PASS, else FAIL,
WRITE ONLY ONE WORD, PASS OR FAIL, IN THIS SECTION
## Send To:
Please write Engineer if the errors are due to problematic development codes, and QaEngineer to problematic test codes, and NoOne if there are no errors,
WRITE ONLY ONE WORD, Engineer OR QaEngineer OR NoOne, IN THIS SECTION.
Please write NoOne if there are no errors, Engineer if the errors are due to problematic development codes, else QaEngineer,
WRITE ONLY ONE WORD, NoOne OR Engineer OR QaEngineer, IN THIS SECTION.
---
You should fill in necessary instruction, status, send to, and finally return all content between the --- segment line.
"""
Expand Down

0 comments on commit 91c5c72

Please sign in to comment.