update code: directly get events instead of request mc

bug fix: human_msg and system_msg assignment
This commit is contained in:
stellahsr 2023-10-07 11:09:54 +08:00
parent 64a1246e1c
commit 84cb2fa3db
3 changed files with 5 additions and 4 deletions

View file

@ -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}")