fix: fix gemini

This commit is contained in:
CaIon
2024-03-08 20:29:04 +08:00
parent 6a83c8ad86
commit 3c3c53051d
5 changed files with 8 additions and 14 deletions

View File

@@ -57,7 +57,7 @@ func GenRelayInfo(c *gin.Context) *RelayInfo {
info.BaseUrl = common.ChannelBaseURLs[channelType]
}
if info.ChannelType == common.ChannelTypeAzure {
info.ApiVersion = GetAzureAPIVersion(c)
info.ApiVersion = GetAPIVersion(c)
}
return info
}