mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-01 21:02:12 +03:00
The image-generation handler read credentials.baseUrl (always undefined), so custom OpenAI-compatible image providers fell back to the Gemini endpoint (401). Resolve from providerSpecificData.baseUrl like the chat path, and rewrite prefix/model to the internal node id before the exact-id lookup. Co-authored-by: ngocquynh85 <ngocquynh85@users.noreply.github.com>