fix(openai): account cached tokens for

zhipu_v4 usage
This commit is contained in:
RedwindA
2025-10-08 16:52:49 +08:00
parent f005d2dc1a
commit efdb1c5b46
2 changed files with 61 additions and 6 deletions
+1
View File
@@ -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 {