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
@@ -38,7 +38,7 @@ const DEFAULT_CONFIG = {
upstream_auth_file: "",
upstream_auth_json_path: "",
upstream_auth_json_key: "OPENAI_API_KEY",
request_body_limit_bytes: 10 * 1024 * 1024,
request_body_limit_bytes: 1024 * 1024 * 1024,
request_history_limit: 0,
model_remap: "",
endpoints: ["/responses", "/chat/completions", "/v1/responses", "/v1/chat/completions"],