mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-07-17 16:41:05 +02:00
refine code
This commit is contained in:
parent
09e2f05a6a
commit
33c58d97fe
3 changed files with 6 additions and 6 deletions
|
|
@ -44,7 +44,7 @@ class BasePostPrecessPlugin(object):
|
|||
|
||||
def run_retry_parse_json_text(self, content: str) -> Union[dict, list]:
|
||||
"""inherited class can re-implement the function"""
|
||||
logger.info(f"extracted json CONTENT from output:\n{content}")
|
||||
logger.debug(f"extracted json CONTENT from output:\n{content}")
|
||||
parsed_data = retry_parse_json_text(output=content) # should use output=content
|
||||
return parsed_data
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue