mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-19 05:07:27 +00:00
feat: add support for Submodel channel type in relay info
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user