remove hardcoded OpenRouter key fallback from onboarding card

OpenRouter is a separate model specifier, not an alternative key for
direct providers. Also skip the "pass it through in pullfrog.yml"
instruction when the key is already in the default workflow template.

Made-with: Cursor
This commit is contained in:
Colin McDonnell
2026-03-25 19:22:00 +00:00
committed by pullfrog[bot]
parent 64f2238316
commit e9ce67fec6
2 changed files with 10 additions and 2 deletions
+5 -1
View File
@@ -117,7 +117,11 @@ function resolveOpenCodeModel(ctx: {
if (ctx.modelSlug) {
const resolved = resolveCliModel(ctx.modelSlug);
if (resolved) {
log.info(`» model: ${resolved} (from repo config)`);
if (resolved !== ctx.modelSlug) {
log.info(`» model: ${ctx.modelSlug} (resolved to ${resolved})`);
} else {
log.info(`» model: ${resolved}`);
}
return resolved;
}
log.warning(`» unknown model slug "${ctx.modelSlug}" — falling through to auto-select`);
+5 -1
View File
@@ -149025,7 +149025,11 @@ function resolveOpenCodeModel(ctx) {
if (ctx.modelSlug) {
const resolved = resolveCliModel(ctx.modelSlug);
if (resolved) {
log.info(`\xBB model: ${resolved} (from repo config)`);
if (resolved !== ctx.modelSlug) {
log.info(`\xBB model: ${ctx.modelSlug} (resolved to ${resolved})`);
} else {
log.info(`\xBB model: ${resolved}`);
}
return resolved;
}
log.warning(`\xBB unknown model slug "${ctx.modelSlug}" \u2014 falling through to auto-select`);