mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-27 09:46:24 +02:00
refine action node and add some experiment
This commit is contained in:
parent
c9b785e453
commit
f4198dc111
5 changed files with 968 additions and 30 deletions
|
|
@ -158,7 +158,8 @@ class OutputParser:
|
|||
|
||||
@classmethod
|
||||
def parse_data_with_mapping(cls, data, mapping):
|
||||
data = cls.extract_content(text=data)
|
||||
if "[CONTENT]" in data:
|
||||
data = cls.extract_content(text=data)
|
||||
block_dict = cls.parse_blocks(data)
|
||||
parsed_data = {}
|
||||
for block, content in block_dict.items():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue