添加gemini支持

This commit is contained in:
CaIon
2023-12-18 23:45:08 +08:00
parent b3f1da44dd
commit e057c0e42e
9 changed files with 372 additions and 0 deletions

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