Skip to content

Commit 5b67b58

Browse files
committed
fix: list default model correctly in logging
1 parent d618b2f commit 5b67b58

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/cli/src/commands/$default.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,9 @@ export async function executePrompt(
129129
}
130130
}
131131

132-
logger.info(`LLM: ${config.provider}/${config.model}`);
132+
logger.info(
133+
`LLM: ${config.provider}/${config.model ?? providerSettings.model}`,
134+
);
133135
if (apiKey) {
134136
logger.info(`Using API key: ${apiKey.slice(0, 4)}...`);
135137
}

0 commit comments

Comments
 (0)