Sfoglia il codice sorgente

feat: add support for DeepSeek channel in streamSupportedChannels

CaIon 10 mesi fa
parent
commit
5639f1c2d8
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      relay/common/relay_info.go

+ 1 - 0
relay/common/relay_info.go

@@ -103,6 +103,7 @@ var streamSupportedChannels = map[int]bool{
 	common.ChannelTypeVolcEngine: true,
 	common.ChannelTypeOllama:     true,
 	common.ChannelTypeXai:        true,
+	common.ChannelTypeDeepSeek:   true,
 }
 
 func GenRelayInfoWs(c *gin.Context, ws *websocket.Conn) *RelayInfo {