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

@@ -102,6 +102,7 @@ func init() {
wrapper.ProcessStreamingResponseBody(onStreamingResponseBody),
wrapper.ProcessResponseBody(onHttpResponseBody),
wrapper.WithRebuildAfterRequests[config.PluginConfig](1000),
wrapper.WithRebuildMaxMemBytes[config.PluginConfig](200*1024*1024),
)
}