diff --git a/python/dify_plugin/entities/tool.py b/python/dify_plugin/entities/tool.py index 8be224e..cf2ddcd 100644 --- a/python/dify_plugin/entities/tool.py +++ b/python/dify_plugin/entities/tool.py @@ -195,7 +195,7 @@ class ToolParameterForm(Enum): ) llm_description: Optional[str] = None required: Optional[bool] = False - default: Optional[Union[int, str]] = None + default: Optional[Union[int, float, str]] = None min: Optional[Union[float, int]] = None max: Optional[Union[float, int]] = None options: Optional[list[ToolParameterOption]] = None diff --git a/python/setup.py b/python/setup.py index e9422f5..71c22e5 100644 --- a/python/setup.py +++ b/python/setup.py @@ -2,7 +2,7 @@ setup( name="dify_plugin", - version="0.0.1-beta33", + version="0.0.1-beta34", author="langgenius", long_description_content_type="text/markdown", url="https://github.com/langgenius/dify-plugin-sdks.git",