mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-04 13:22:39 +02:00
fix research bugs
This commit is contained in:
parent
d112371dad
commit
d94f4fbfbc
3 changed files with 5 additions and 2 deletions
|
|
@ -93,7 +93,7 @@ def split_paragraph(paragraph: str, sep: str = ".,", count: int = 2) -> list[str
|
|||
continue
|
||||
ret = ["".join(j) for j in _split_by_count(sentences, count)]
|
||||
return ret
|
||||
return _split_by_count(paragraph, count)
|
||||
return list(_split_by_count(paragraph, count))
|
||||
|
||||
|
||||
def decode_unicode_escape(text: str) -> str:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue