Skip to content

Commit

Permalink
fix: add float type to default
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeuoly committed Nov 28, 2024
1 parent afd5c2c commit eb8a9c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/dify_plugin/entities/tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit eb8a9c4

Please sign in to comment.