mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-05-01 03:21:47 +00:00
fix(openai): account cached tokens for
zhipu_v4 usage
This commit is contained in:
@@ -261,6 +261,7 @@ var streamSupportedChannels = map[int]bool{
|
||||
constant.ChannelTypeXai: true,
|
||||
constant.ChannelTypeDeepSeek: true,
|
||||
constant.ChannelTypeBaiduV2: true,
|
||||
constant.ChannelTypeZhipu_v4: true,
|
||||
}
|
||||
|
||||
func GenRelayInfoWs(c *gin.Context, ws *websocket.Conn) *RelayInfo {
|
||||
|
||||
Reference in New Issue
Block a user