feat: update RAG recommended plugins hook to accept type parameter for better categorization

This commit is contained in:
WTW0313
2025-12-16 15:46:42 +08:00
parent fdd21ac815
commit 03cc3868ef
2 changed files with 14 additions and 5 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
}