mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-05 13:52:38 +02:00
convert UDFS_YAML to dict.
This commit is contained in:
parent
fdf16f5535
commit
a4ba5660b8
1 changed files with 2 additions and 1 deletions
|
|
@ -114,4 +114,5 @@ function_signatures, function_returns = get_function_signatures_in_folder(folder
|
|||
UDFS = [func for func in function_signatures
|
||||
if not func['udf_name'].startswith(('extract_function_signatures', 'get_function_signatures_in_folder', 'docstring_to_yaml'))]
|
||||
|
||||
UDFS_YAML = extract_function_schema_yaml_in_folder(folder_path)
|
||||
UDFS_YAML_STR: str = extract_function_schema_yaml_in_folder(folder_path)
|
||||
UDFS_YAML: dict = yaml.load(UDFS_YAML_STR, Loader=yaml.FullLoader)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue