default state to -1, mv react_mode to rc, use enum

This commit is contained in:
garylin2099 2023-11-08 14:20:12 +08:00
parent 250fe83de9
commit c6350efd7f
2 changed files with 37 additions and 26 deletions

View file

@ -104,7 +104,7 @@ class RunnableCoder(Role):
self._rc.memory.add(msg)
return msg
def main(msg="write a function that calculates the product of a list"):
def main(msg="write a function that calculates the product of a list and run it"):
# role = SimpleCoder()
role = RunnableCoder()
logger.info(msg)