mirror of
https://github.com/langgenius/dify.git
synced 2026-03-13 13:00:44 +08:00
fix: correct fetch_from for customizable models (#12400)
This commit is contained in:
parent
aa6452b3bf
commit
8d75abc976
@ -978,7 +978,7 @@ class ProviderConfiguration(BaseModel):
|
||||
label=custom_model_schema.label,
|
||||
model_type=custom_model_schema.model_type,
|
||||
features=custom_model_schema.features,
|
||||
fetch_from=custom_model_schema.fetch_from,
|
||||
fetch_from=FetchFrom.CUSTOMIZABLE_MODEL,
|
||||
model_properties=custom_model_schema.model_properties,
|
||||
deprecated=custom_model_schema.deprecated,
|
||||
provider=SimpleModelProviderEntity(self.provider),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user