feat: add support for Submodel channel type in relay info

This commit is contained in:
CaIon
2025-10-25 22:10:21 +08:00
parent 5125606f25
commit a25c11df2a

View File

@@ -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 {