添加gemini支持

This commit is contained in:
CaIon committed 2023-12-18 23:46:05 +08:00
1 parent f24a1da7f3
commit 796760222c
9 files changed
+372

No files matched your search

+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()
}