mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-05 14:55:18 +02:00
register tools from path
This commit is contained in:
parent
0271cd7f77
commit
e53a0acc8e
3 changed files with 54 additions and 6 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