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

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