mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-04-23 14:19:42 +08:00
fix(api/core/tools/entities/tool_entities.py): Fix type define. (#7250)
This commit is contained in:
parent
ca085034de
commit
48d2febebf
@ -103,8 +103,8 @@ class ToolInvokeMessage(BaseModel):
|
|||||||
"""
|
"""
|
||||||
plain text, image url or link url
|
plain text, image url or link url
|
||||||
"""
|
"""
|
||||||
message: Union[str, bytes, dict] = None
|
message: str | bytes | dict | None = None
|
||||||
meta: dict[str, Any] = None
|
meta: dict[str, Any] | None = None
|
||||||
save_as: str = ''
|
save_as: str = ''
|
||||||
|
|
||||||
class ToolInvokeMessageBinary(BaseModel):
|
class ToolInvokeMessageBinary(BaseModel):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user