diff --git a/packages/cli/src/modelalias.ts b/packages/cli/src/modelalias.ts index 4f3c0785a..e4cef4fa0 100644 --- a/packages/cli/src/modelalias.ts +++ b/packages/cli/src/modelalias.ts @@ -40,7 +40,9 @@ export function applyModelOptions( export function logModelAliases() { const modelAlias = runtimeHost.modelAliases if (Object.values(modelAlias).some((m) => m.source !== "default")) - Object.entries(runtimeHost.modelAliases).forEach(([key, value]) => - logVerbose(` ${key}: ${value.model} (${value.source})`) - ) + Object.entries(runtimeHost.modelAliases) + .filter(([, value]) => value.source !== "default") + .forEach(([key, value]) => + logVerbose(` ${key}: ${value.model} (${value.source})`) + ) }