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(migrate/tools): Correct parameter name in tool_builtin_providers migration function (#21358)

Yeuoly3113350e51c7
diff --git a/api/services/plugin/data_migration.py b/api/services/plugin/data_migration.py
index 02de5a79d75..53240364143 100644
--- a/api/services/plugin/data_migration.py
+++ b/api/services/plugin/data_migration.py
@@ -22,7 +22,7 @@ class PluginDataMigration:
cls.migrate_datasets()
cls.migrate_db_records("embeddings", "provider_name", ModelProviderID) # large table
cls.migrate_db_records("dataset_collection_bindings", "provider_name", ModelProviderID)
- cls.migrate_db_records("tool_builtin_providers", "provider_name", ToolProviderID)
+ cls.migrate_db_records("tool_builtin_providers", "provider", ToolProviderID)
@classmethod
def migrate_datasets(cls) -> None: