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

@@ -317,6 +317,7 @@ class ToolProviderIdentity(BaseModel):
name: str = Field(..., description="The name of the tool")
description: I18nObject = Field(..., description="The description of the tool")
icon: str = Field(..., description="The icon of the tool")
icon_dark: Optional[str] = Field(default=None, description="The dark icon of the tool")
label: I18nObject = Field(..., description="The label of the tool")
tags: Optional[list[ToolLabelEnum]] = Field(
default=[],