fix(images): route compatible Gemini image models through API keys

This commit is contained in:
Heatherm Huang committed 2026-09-12 14:34:31 +08:00
1 parent 8e23e13158
commit 9fedf899e2
5 files changed
+205 -4

No files matched your search

+1 -1
View File
@@ -165,7 +165,7 @@ func (h *OpenAIGatewayHandler) Images(c *gin.Context) {
sessionHash,
routingModel,
failedAccountIDs,
parsed.RequiredCapability,
parsed.RequiredCapabilityForModel(channelMapping.MappedModel),
)
if err != nil {
if failoverClientGone(c) {