mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-07-11 16:22:15 +02:00
update code: directly get events instead of request mc
bug fix: human_msg and system_msg assignment
This commit is contained in:
parent
64a1246e1c
commit
84cb2fa3db
3 changed files with 5 additions and 4 deletions
|
|
@ -22,7 +22,7 @@ class GenerateActionCode(Action):
|
|||
|
||||
Implement the logic for generating action code here.
|
||||
"""
|
||||
logger.info(f"human_msg {human_msg}, system_msg {system_msg}")
|
||||
# logger.info(f"human_msg {human_msg}, system_msg {system_msg}")
|
||||
rsp = await self._aask(prompt=human_msg, system_msgs=system_msg)
|
||||
parsed_result = parse_action_response(rsp)
|
||||
# logger.info(f"parsed_result is HERE: {parsed_result}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue