Переглянути джерело

fix(migrate/tools): Correct parameter name in tool_builtin_providers migration function (#21358)

tags/1.5.0
Yeuoly 4 місяці тому
джерело
коміт
3113350e51
Аккаунт користувача з таким Email не знайдено
1 змінених файлів з 1 додано та 1 видалено
  1. 1
    1
      api/services/plugin/data_migration.py

+ 1
- 1
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:

Завантаження…
Відмінити
Зберегти