mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-05 14:55:18 +02:00
default state to -1, mv react_mode to rc, use enum
This commit is contained in:
parent
250fe83de9
commit
c6350efd7f
2 changed files with 37 additions and 26 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue