From 72ce43779270fa51ffa05c500cb76cce32428284 Mon Sep 17 00:00:00 2001 From: axel7083 <42176370+axel7083@users.noreply.github.com> Date: Wed, 6 Mar 2024 16:23:07 +0100 Subject: [PATCH] fix: arguments order Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com> --- packages/backend/src/studio.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend/src/studio.ts b/packages/backend/src/studio.ts index 2fec58f11..35fd8fd40 100644 --- a/packages/backend/src/studio.ts +++ b/packages/backend/src/studio.ts @@ -126,7 +126,7 @@ export class Studio { this.telemetry, ); // Create catalog manager, responsible for loading the catalog files and watching for changes - this.catalogManager = new CatalogManager(appUserDirectory, this.#panel.webview); + this.catalogManager = new CatalogManager(this.#panel.webview, appUserDirectory); this.modelsManager = new ModelsManager( appUserDirectory, this.#panel.webview, @@ -162,7 +162,7 @@ export class Studio { taskRegistry, ); - await this.catalogManager.loadCatalog(); + this.catalogManager.init(); await this.modelsManager.loadLocalModels(); podmanConnection.init(); this.playgroundManager.adoptRunningPlaygrounds();