@@ -68,7 +68,7 @@ import {
6868 resolveThinkingDefaultWithRuntimeCatalog ,
6969} from "../model-selection.js" ;
7070import { createModelVisibilityPolicy } from "../model-visibility-policy.js" ;
71- import { loadPreparedModelCatalog } from "../prepared-model-catalog.js" ;
71+ import { loadPublishedPreparedModelCatalog } from "../prepared-model-catalog.js" ;
7272import { resolveSessionModelIdentityRef } from "../session-model-ref.js" ;
7373import {
7474 describeSessionStatusTool ,
@@ -502,7 +502,7 @@ async function resolveModelOverride(params: {
502502 agentId : params . agentId ,
503503 defaultProvider : currentProvider ,
504504 } ) ;
505- const catalog = await loadPreparedModelCatalog ( {
505+ const catalog = await loadPublishedPreparedModelCatalog ( {
506506 config : params . cfg ,
507507 agentId : params . agentId ,
508508 agentDir : params . agentDir ,
@@ -1130,7 +1130,7 @@ export function createSessionStatusTool(opts?: {
11301130 config : cfg ,
11311131 } ) ;
11321132 // Tool status may read persisted/configured facts, but must not start provider discovery.
1133- const thinkingCatalog = await loadPreparedModelCatalog ( {
1133+ const thinkingCatalog = await loadPublishedPreparedModelCatalog ( {
11341134 config : cfg ,
11351135 agentId,
11361136 agentDir : selectedAgentDir ,
@@ -1163,7 +1163,7 @@ export function createSessionStatusTool(opts?: {
11631163 provider : providerForCard ,
11641164 model : defaultModelForCard ,
11651165 loadRuntimeCatalog : ( ) =>
1166- loadPreparedModelCatalog ( {
1166+ loadPublishedPreparedModelCatalog ( {
11671167 config : cfg ,
11681168 agentId,
11691169 agentDir : selectedAgentDir ,
0 commit comments