Sfoglia il codice sorgente

feat: add support for Submodel channel type in relay info

CaIon 4 mesi fa
parent
commit
6791eb72ba
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      relay/common/relay_info.go

+ 1 - 0
relay/common/relay_info.go

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