fix: raise request body limit to 1GB

This commit is contained in:
2026-07-01 16:26:59 +08:00
parent c8cc3b153b
commit 446a0e99a8
6 changed files with 38 additions and 17 deletions
+1 -1
View File
@@ -384,7 +384,7 @@ async function run() {
listen_host: "127.0.0.1",
listen_port: gatewayPort,
upstream_base_url: `http://127.0.0.1:${upstreamPort}`,
request_body_limit_bytes: 10 * 1024 * 1024,
request_body_limit_bytes: 1024 * 1024 * 1024,
endpoints: ["/responses", "/chat/completions", "/v1/responses", "/v1/chat/completions"],
reasoning_equals: [516],
retryable_status_codes: [429, 503],