mirror of
https://github.com/langgenius/dify.git
synced 2026-04-26 10:16:40 +08:00
fix miss has_invalid_load_balancing_configs bug
This commit is contained in:
parent
d861cc761f
commit
533c804ed0
@ -1639,6 +1639,7 @@ class ProviderConfiguration(BaseModel):
|
|||||||
|
|
||||||
status = ModelStatus.ACTIVE
|
status = ModelStatus.ACTIVE
|
||||||
load_balancing_enabled = False
|
load_balancing_enabled = False
|
||||||
|
has_invalid_load_balancing_configs = False
|
||||||
if (
|
if (
|
||||||
custom_model_schema.model_type in model_setting_map
|
custom_model_schema.model_type in model_setting_map
|
||||||
and custom_model_schema.model in model_setting_map[custom_model_schema.model_type]
|
and custom_model_schema.model in model_setting_map[custom_model_schema.model_type]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user