Skip to content

Commit 079347b

Browse files
authored
style(agents): satisfy catalog promise lint
1 parent 5f16f11 commit 079347b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/agents/model-catalog.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -825,8 +825,7 @@ export async function loadModelCatalog(params?: {
825825
}
826826

827827
const loadGeneration = modelCatalogGeneration;
828-
let publishedPromise: Promise<ModelCatalogEntry[]>;
829-
publishedPromise = loadCatalog().then((catalog) => {
828+
const publishedPromise = loadCatalog().then((catalog) => {
830829
if (
831830
catalog.length > 0 &&
832831
modelCatalogGeneration === loadGeneration &&

0 commit comments

Comments
 (0)