feat: add support for dark icons in provider and tool entities (#22081)

This commit is contained in:
Yeuoly
2025-07-10 14:43:31 +08:00
committed by GitHub
parent edf5fd28c9
commit 94a13d7d62
6 changed files with 18 additions and 0 deletions

View File

@@ -79,6 +79,7 @@ class PluginDeclaration(BaseModel):
name: str = Field(..., pattern=r"^[a-z0-9_-]{1,128}$")
description: I18nObject
icon: str
icon_dark: Optional[str] = Field(default=None)
label: I18nObject
category: PluginCategory
created_at: datetime.datetime