mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 23:10:48 +08:00
ECO-184: add new dsl field to tool node, ready for enduser auth
This commit is contained in:
parent
d784a0432c
commit
8c111de6a9
@ -16,6 +16,7 @@ class ToolEntity(BaseModel):
|
||||
tool_configurations: dict[str, Any]
|
||||
credential_id: str | None = None
|
||||
plugin_unique_identifier: str | None = None # redundancy
|
||||
auth_type: Literal["workspace", "end_user"] = "workspace" # OAuth authentication level
|
||||
|
||||
@field_validator("tool_configurations", mode="before")
|
||||
@classmethod
|
||||
|
||||
Loading…
Reference in New Issue
Block a user