Parcourir la source

feat: add support for Ali channel in streamSupportedChannels

creamlike1024 il y a 4 mois
Parent
commit
c693bfee5e
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      relay/common/relay_info.go

+ 1 - 0
relay/common/relay_info.go

@@ -263,6 +263,7 @@ var streamSupportedChannels = map[int]bool{
 	constant.ChannelTypeDeepSeek:   true,
 	constant.ChannelTypeDeepSeek:   true,
 	constant.ChannelTypeBaiduV2:    true,
 	constant.ChannelTypeBaiduV2:    true,
 	constant.ChannelTypeZhipu_v4:   true,
 	constant.ChannelTypeZhipu_v4:   true,
+	constant.ChannelTypeAli:        true,
 }
 }
 
 
 func GenRelayInfoWs(c *gin.Context, ws *websocket.Conn) *RelayInfo {
 func GenRelayInfoWs(c *gin.Context, ws *websocket.Conn) *RelayInfo {