Skip to content

Commit

Permalink
fix: prettier
Browse files Browse the repository at this point in the history
Signed-off-by: axel7083 <[email protected]>
  • Loading branch information
axel7083 committed Jan 19, 2024
1 parent 52fce1b commit f00227c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion packages/backend/src/managers/catalogManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export class CatalogManager {
return this.catalog.recipes;
}


async loadCatalog() {
const catalogPath = path.resolve(this.appUserDirectory, 'catalog.json');
try {
Expand Down
2 changes: 0 additions & 2 deletions packages/backend/src/studio-api-impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import { CatalogManager } from './managers/catalogManager';
export const RECENT_CATEGORY_ID = 'recent-category';

export class StudioApiImpl implements StudioAPI {

constructor(
private applicationManager: ApplicationManager,
private recipeStatusRegistry: RecipeStatusRegistry,
Expand Down Expand Up @@ -118,7 +117,6 @@ export class StudioApiImpl implements StudioAPI {
}

askPlayground(modelId: string, prompt: string): Promise<number> {

const localModelInfo = this.applicationManager.getLocalModels().filter(m => m.id === modelId);
if (localModelInfo.length !== 1) {
throw new Error('model not found');
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/src/studio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class Studio {
recipeStatusRegistry,
taskRegistry,
this.playgroundManager,
this.catalogManager
this.catalogManager,
);

await this.catalogManager.loadCatalog();
Expand Down

0 comments on commit f00227c

Please sign in to comment.