feat: add dsl field for end user oauth (#28687)

This commit is contained in:
Charles Yao 2025-11-26 13:23:27 -06:00 committed by GitHub
commit 5947cc2bab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -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