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.

fix: search model provider list (#32106)

zxhlyhbdf6739b8615
diff --git a/web/app/components/header/account-setting/model-provider-page/hooks.ts b/web/app/components/header/account-setting/model-provider-page/hooks.ts
index 6aba41d4e43..8db964cc276 100644
--- a/web/app/components/header/account-setting/model-provider-page/hooks.ts
+++ b/web/app/components/header/account-setting/model-provider-page/hooks.ts
@@ -308,7 +308,7 @@ export const useMarketplaceAllPlugins = (providers: ModelProvider[], searchText:
}, [plugins, collectionPlugins, exclude])
return {
- plugins: allPlugins,
+ plugins: searchText ? plugins : allPlugins,
isLoading: isCollectionLoading || isPluginsLoading,
}
}