添加gemini支持

This commit is contained in:
CaIon
2023-12-18 23:45:08 +08:00
parent f24a1da7f3
commit 796760222c
9 changed files with 372 additions and 0 deletions
+2
View File
@@ -107,6 +107,8 @@ func Distribute() func(c *gin.Context) {
c.Set("api_version", channel.Other)
case common.ChannelTypeAIProxyLibrary:
c.Set("library_id", channel.Other)
case common.ChannelTypeGemini:
c.Set("api_version", channel.Other)
}
c.Next()
}