feat: add support for Submodel channel type in relay info
This commit is contained in:
parent
5125606f25
commit
a25c11df2a
@ -264,6 +264,7 @@ var streamSupportedChannels = map[int]bool{
|
|||||||
constant.ChannelTypeBaiduV2: true,
|
constant.ChannelTypeBaiduV2: true,
|
||||||
constant.ChannelTypeZhipu_v4: true,
|
constant.ChannelTypeZhipu_v4: true,
|
||||||
constant.ChannelTypeAli: true,
|
constant.ChannelTypeAli: true,
|
||||||
|
constant.ChannelTypeSubmodel: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
func GenRelayInfoWs(c *gin.Context, ws *websocket.Conn) *RelayInfo {
|
func GenRelayInfoWs(c *gin.Context, ws *websocket.Conn) *RelayInfo {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user