Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

unreachable-code for lb model fetch. (#20797)

湛露先生ab290ed96896
diff --git a/api/core/model_manager.py b/api/core/model_manager.py
index 995a30d44ce..4886ffe2445 100644
--- a/api/core/model_manager.py
+++ b/api/core/model_manager.py
@@ -542,8 +542,6 @@ class LBModelManager:
return config
- return None
-
def cooldown(self, config: ModelLoadBalancingConfiguration, expire: int = 60) -> None:
"""
Cooldown model load balancing config