feat: support azure stream_options

This commit is contained in:
CalciumIon committed 2024-12-26 22:51:06 +08:00
1 parent bb48f5dcae
commit 62469a5226
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -109,7 +109,7 @@ func GenRelayInfo(c *gin.Context) *RelayInfo {
}
if info.ChannelType == common.ChannelTypeOpenAI || info.ChannelType == common.ChannelTypeAnthropic ||
info.ChannelType == common.ChannelTypeAws || info.ChannelType == common.ChannelTypeGemini ||
info.ChannelType == common.ChannelCloudflare {
info.ChannelType == common.ChannelCloudflare || info.ChannelType == common.ChannelTypeAzure {
info.SupportStreamOptions = true
}
return info