Commit 3688d8f9 by nightcoffee Committed by GitHub

feat: add 火山引擎 support stream options

parent 2869dbf6
...@@ -112,7 +112,8 @@ func GenRelayInfo(c *gin.Context) *RelayInfo { ...@@ -112,7 +112,8 @@ func GenRelayInfo(c *gin.Context) *RelayInfo {
} }
if info.ChannelType == common.ChannelTypeOpenAI || info.ChannelType == common.ChannelTypeAnthropic || if info.ChannelType == common.ChannelTypeOpenAI || info.ChannelType == common.ChannelTypeAnthropic ||
info.ChannelType == common.ChannelTypeAws || info.ChannelType == common.ChannelTypeGemini || info.ChannelType == common.ChannelTypeAws || info.ChannelType == common.ChannelTypeGemini ||
info.ChannelType == common.ChannelCloudflare || info.ChannelType == common.ChannelTypeAzure { info.ChannelType == common.ChannelCloudflare || info.ChannelType == common.ChannelTypeAzure ||
info.ChannelType == common.ChannelTypeVolcEngine {
info.SupportStreamOptions = true info.SupportStreamOptions = true
} }
return info return info
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment