mirror of https://github.com/langgenius/dify.git
fix preview and recommend plugins
This commit is contained in:
parent
a8cd1e2483
commit
8467494706
|
|
@ -1265,7 +1265,7 @@ class RagPipelineService:
|
|||
user_id=current_user.id,
|
||||
tenant_id=current_user.current_tenant_id,
|
||||
)
|
||||
providers_map = {provider.plugin_id: provider for provider in providers}
|
||||
providers_map = {provider.plugin_id: provider.to_dict() for provider in providers}
|
||||
|
||||
plugin_manifests = marketplace.batch_fetch_plugin_manifests(plugin_ids)
|
||||
plugin_manifests_map = {manifest.plugin_id: manifest for manifest in plugin_manifests}
|
||||
|
|
|
|||
Loading…
Reference in New Issue