Skip to content

Commit a4069dc

Browse files
committed
fix(openai): document configured model catalog authority
1 parent 681ff3f commit a4069dc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/agents/model-catalog.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,8 @@ export async function buildPreparedModelCatalogSnapshot(
580580
},
581581
});
582582
if (supplemental.length > 0) {
583+
// Explicitly configured rows are user-authorized even when live
584+
// discovery omits them; normalize both sets to preserve their routes.
583585
const accountVisibleModelKeys = new Set(
584586
[...models, ...configuredModels].map((entry) =>
585587
catalogEntryDedupeKey(

0 commit comments

Comments
 (0)