Ver Fonte

feat: add support for BaiduV2 channel in relay info

CaIon há 10 meses atrás
pai
commit
b19e1b8207
1 ficheiros alterados com 1 adições e 0 exclusões
  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 {