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

This commit is contained in:
Heatherm Huang
2026-09-12 14:34:31 +08:00
parent 8e23e13158
commit 9fedf899e2
5 changed files with 205 additions and 4 deletions
+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) {