mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 07:46:31 +08:00
Revert "feat: add dsl field for end user oauth" (#28732)
This commit is contained in:
commit
72514904ea
@ -16,7 +16,6 @@ class ToolEntity(BaseModel):
|
|||||||
tool_configurations: dict[str, Any]
|
tool_configurations: dict[str, Any]
|
||||||
credential_id: str | None = None
|
credential_id: str | None = None
|
||||||
plugin_unique_identifier: str | None = None # redundancy
|
plugin_unique_identifier: str | None = None # redundancy
|
||||||
auth_type: Literal["workspace", "end_user"] = "workspace" # OAuth authentication level
|
|
||||||
|
|
||||||
@field_validator("tool_configurations", mode="before")
|
@field_validator("tool_configurations", mode="before")
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user