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.

chore: remove redundant code (#21211)

Good Wood1d41b642ca84
diff --git a/web/context/provider-context.tsx b/web/context/provider-context.tsx
index 70c9019aca2..aaec900fd8b 100644
--- a/web/context/provider-context.tsx
+++ b/web/context/provider-context.tsx
@@ -154,10 +154,6 @@ export const ProviderContextProvider = ({
setIsFetchedPlan(true)
}
- if (data.model_load_balancing_enabled)
- setModelLoadBalancingEnabled(true)
- if (data.dataset_operator_enabled)
- setDatasetOperatorEnabled(true)
if (data.model_load_balancing_enabled)
setModelLoadBalancingEnabled(true)
if (data.dataset_operator_enabled)