feat: update RAG recommended plugins hook to accept type parameter (#29735)

This commit is contained in:
Wu Tianwei
2025-12-17 13:48:23 +08:00
committed by GitHub
parent 44f8915e30
commit 1d1351393a
3 changed files with 15 additions and 6 deletions

View File

@@ -37,7 +37,7 @@ const useRefreshPluginList = () => {
if ((manifest && PluginCategoryEnum.tool.includes(manifest.category)) || refreshAllType) {
invalidateAllToolProviders()
invalidateAllBuiltInTools()
invalidateRAGRecommendedPlugins()
invalidateRAGRecommendedPlugins('tool')
// TODO: update suggested tools. It's a function in hook useMarketplacePlugins,handleUpdatePlugins
}