mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-15 11:02:36 +02:00
Fix research action bug && Optimize universal file operation tools
This commit is contained in:
parent
97be431127
commit
c99f4bffe9
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ def test_parse_data():
|
|||
),
|
||||
]
|
||||
)
|
||||
def test_extract_list_or_dict(text: str, data_type: str, parsed_data: list, expected_exception):
|
||||
def test_extract_struct(text: str, data_type: str, parsed_data: list, expected_exception):
|
||||
def case():
|
||||
resp = OutputParser.extract_struct(text, data_type)
|
||||
assert resp == parsed_data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue