fix: restore Google as default provider when multiple keys available

EXTEND.md default_provider still takes priority over auto-detect.
Priority: CLI --provider > EXTEND.md default_provider > auto-detect (Google first).
This commit is contained in:
Jim Liu 宝玉
2026-03-09 00:52:53 -05:00
parent 88b433d565
commit df9ce95c46
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ ${BUN_X} {baseDir}/scripts/main.ts --prompt "A cat" --image out.png --provider r
1. `--ref` provided + no `--provider` → auto-select Google first, then OpenAI, then Replicate
2. `--provider` specified → use it (if `--ref`, must be `google`, `openai`, or `replicate`)
3. Only one API key available → use that provider
4. Multiple available → default to Replicate (`google/nano-banana-pro`)
4. Multiple available → default to Google
## Quality Presets