fix: lint

pull/19705/head
crazywoola 1 year ago
parent b12289863a
commit 0a89d44b37

@ -910,9 +910,7 @@ class ProviderConfiguration(BaseModel):
custom_model_schema.model_type in model_setting_map
and custom_model_schema.model in model_setting_map[custom_model_schema.model_type]
):
model_setting = model_setting_map[custom_model_schema.model_type][
custom_model_schema.model
]
model_setting = model_setting_map[custom_model_schema.model_type][custom_model_schema.model]
if model_setting.enabled is False:
status = ModelStatus.DISABLED

Loading…
Cancel
Save