Parcourir la source

feat: add support for BaiduV2 channel in relay info

CaIon il y a 10 mois
Parent
commit
b19e1b8207
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

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