feat: add support for BaiduV2 channel in relay info
This commit is contained in:
@@ -116,6 +116,7 @@ var streamSupportedChannels = map[int]bool{
|
|||||||
common.ChannelTypeOllama: true,
|
common.ChannelTypeOllama: true,
|
||||||
common.ChannelTypeXai: true,
|
common.ChannelTypeXai: true,
|
||||||
common.ChannelTypeDeepSeek: true,
|
common.ChannelTypeDeepSeek: true,
|
||||||
|
common.ChannelTypeBaiduV2: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
func GenRelayInfoWs(c *gin.Context, ws *websocket.Conn) *RelayInfo {
|
func GenRelayInfoWs(c *gin.Context, ws *websocket.Conn) *RelayInfo {
|
||||||
|
|||||||
Reference in New Issue
Block a user