Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions python/dify_plugin/entities/model/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ class ProviderEntity(BaseModel):
description: I18nObject | None = None
icon_small: I18nObject | None = None
icon_large: I18nObject | None = None
icon_small_dark: I18nObject | None = None
icon_large_dark: I18nObject | None = None
background: str | None = None
help: ProviderHelpEntity | None = None
supported_model_types: Sequence[ModelType]
Expand All @@ -212,6 +214,8 @@ def to_simple_provider(self) -> SimpleProviderEntity:
label=self.label,
icon_small=self.icon_small,
icon_large=self.icon_large,
icon_small_dark=self.icon_small_dark,
icon_large_dark=self.icon_large_dark,
supported_model_types=self.supported_model_types,
models=self.models,
)
Expand Down