From a25c11df2a8f77b633f37c2ad205835712b99167 Mon Sep 17 00:00:00 2001 From: CaIon Date: Sat, 25 Oct 2025 22:10:21 +0800 Subject: [PATCH] feat: add support for Submodel channel type in relay info --- relay/common/relay_info.go | 1 + 1 file changed, 1 insertion(+) diff --git a/relay/common/relay_info.go b/relay/common/relay_info.go index 40738f48..8f59a905 100644 --- a/relay/common/relay_info.go +++ b/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 {