mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-01 03:46:23 +02:00
fix bugs
This commit is contained in:
parent
933cd1f049
commit
e52b48ccc5
4 changed files with 16 additions and 16 deletions
|
|
@ -131,13 +131,11 @@ class OutputParser:
|
|||
try:
|
||||
content = cls.parse_code(text=content)
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
# 尝试解析list
|
||||
try:
|
||||
content = cls.parse_file_list(text=content)
|
||||
except Exception:
|
||||
pass
|
||||
# 尝试解析list
|
||||
try:
|
||||
content = cls.parse_file_list(text=content)
|
||||
except Exception:
|
||||
pass
|
||||
parsed_data[block] = content
|
||||
return parsed_data
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue