Skip to content

feat: route Banana image model aliases by requested size - #167

Open
miaomiaozii wants to merge 4 commits into
hero8152:mainfrom
miaomiaozii:codex/pr-image-model-routing
Open

feat: route Banana image model aliases by requested size#167
miaomiaozii wants to merge 4 commits into
hero8152:mainfrom
miaomiaozii:codex/pr-image-model-routing

Conversation

@miaomiaozii

Copy link
Copy Markdown

Summary

  • automatically route Banana requests to the base, 2K, or 4K model alias from the requested size
  • preserve the request's original width, height, and size values
  • do not add or rewrite image_size
  • forward a gateway-compatible aspect_ratio for Banana/Gemini image requests
  • limit routing strictly to known model aliases

Verification

  • 8 isolated request-routing tests passed
  • tests do not depend on local API keys or .env files

This replaces the previously considered SOCKS-related PR scope; no SOCKS changes are included.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant