mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-06 16:06:08 +00:00
Persist the output limit in runtime settings and use the authenticated snapshot for each compressed Responses request. Expose the setting in MiB and preserve bounded decoding and the independent zstd window limit. Co-authored-by: Zyy <zyycn@users.noreply.github.com> Co-authored-by: Codex <noreply@openai.com>
5 lines
254 B
SQL
5 lines
254 B
SQL
-- 解压输出上限属于运行设置,升级后沿用原有 64 MiB 默认值。
|
|
alter table runtime_settings
|
|
add column responses_max_decompressed_body_bytes bigint not null default 67108864
|
|
check (responses_max_decompressed_body_bytes > 0);
|