Skip to content

Commit 6791eb7

Browse files
committed
feat: add support for Submodel channel type in relay info
1 parent cb3537f commit 6791eb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

relay/common/relay_info.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ var streamSupportedChannels = map[int]bool{
264264
constant.ChannelTypeBaiduV2: true,
265265
constant.ChannelTypeZhipu_v4: true,
266266
constant.ChannelTypeAli: true,
267+
constant.ChannelTypeSubmodel: true,
267268
}
268269

269270
func GenRelayInfoWs(c *gin.Context, ws *websocket.Conn) *RelayInfo {

0 commit comments

Comments
 (0)