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:
committed by
pullfrog[bot]
parent
64f2238316
commit
e9ce67fec6
+5
-1
@@ -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`);
|
||||
|
||||
@@ -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`);
|
||||
|
||||
Reference in New Issue
Block a user