add wrapper.WithRebuildMaxMemBytes(200MB) to ai-statistics&ai-proxy

This commit is contained in:
johnlanni
2025-12-09 20:44:23 +08:00
parent 7bee45b022
commit 6bf587a4d1
6 changed files with 13 additions and 8 deletions

View File

@@ -29,6 +29,7 @@ func init() {
wrapper.ProcessStreamingResponseBody(onHttpStreamingBody),
wrapper.ProcessResponseBody(onHttpResponseBody),
wrapper.WithRebuildAfterRequests[AIStatisticsConfig](1000),
wrapper.WithRebuildMaxMemBytes[AIStatisticsConfig](200*1024*1024),
)
}