mirror of
https://github.com/langgenius/dify.git
synced 2026-02-09 23:20:12 -05:00
fix:#9222 create or update custum tools error (#9228)
This commit is contained in:
@@ -288,7 +288,7 @@ class ApiBasedToolSchemaParser:
|
||||
|
||||
@staticmethod
|
||||
def auto_parse_to_tool_bundle(
|
||||
content: str, extra_info: Optional[dict], warning: Optional[dict]
|
||||
content: str, extra_info: Optional[dict] = None, warning: Optional[dict] = None
|
||||
) -> tuple[list[ApiToolBundle], str]:
|
||||
"""
|
||||
auto parse to tool bundle
|
||||
|
||||
Reference in New Issue
Block a user