mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-27 17:56:23 +02:00
Merge branch 'di_fixes' into add_tool_from_path
This commit is contained in:
commit
e7423763bc
11 changed files with 194 additions and 33 deletions
|
|
@ -3,7 +3,7 @@ from typing import Tuple
|
|||
|
||||
|
||||
def remove_spaces(text):
|
||||
return re.sub(r"\s+", " ", text).strip()
|
||||
return re.sub(r"\s+", " ", text).strip() if text else ""
|
||||
|
||||
|
||||
class DocstringParser:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue