fix(openai): account cached tokens for

zhipu_v4 usage
This commit is contained in:
RedwindA
2025-10-08 16:52:49 +08:00
parent a610ef48e4
commit f930cdbb51
2 changed files with 61 additions and 6 deletions

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 {