Skip to content
Draft
Changes from 1 commit
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 @@ -188,7 +188,9 @@ class ProviderEntity(BaseModel):
label: I18nObject
description: I18nObject | None = None
icon_small: I18nObject | None = None
icon_small_dark: I18nObject | None = None
icon_large: I18nObject | None = None
icon_large_dark: I18nObject | None = None
background: str | None = None
help: ProviderHelpEntity | None = None
supported_model_types: Sequence[ModelType]
Expand All @@ -211,7 +213,9 @@ def to_simple_provider(self) -> SimpleProviderEntity:
provider=self.provider,
label=self.label,
icon_small=self.icon_small,
icon_small_dark=self.icon_small_dark,
icon_large=self.icon_large,
icon_large_dark=self.icon_large_dark,
supported_model_types=self.supported_model_types,
models=self.models,
)
Expand Down
Loading