What's New
- Claude Code model names now just work (#415, #414, #418). Claude Code sends its own names (
claude-sonnet-5,claude-opus-5-5[1m],claude-haiku-5-5,claude-fable-5-2). The proxy now resolves them against your account's live model list and picks the newest matching model. Free accounts get Claude 4.6, and Pro/Ultra get Claude 5.5. This fixes400 Invalid model: claude-sonnet-4-6with the one-line setup, and Auto Mode's "claude-sonnet-5[1m] is temporarily unavailable" error. Old configs that name retired ids keep working, and future model renames are picked up without a proxy update. --fallbackfollows the live model list too, so quota fallback still works after model renames.- Gemini respects
tool_choice(#417). Forced and required tool choices are now passed to Gemini instead of being dropped. stop_sequencesare forwarded (#413). Requests used to drop them. There's also a newextraStopSequencesconfig option for stop sequences the proxy adds to every request.- The default Claude preset and the README now use Claude Code's own model names.
docs/models.mdexplains how names resolve.
Contributors
Thanks to @ananzeng for reporting #415 and fixing it in #414, @newtonsart for #417, and @rikbrown for #413!