gpt-5.5压缩失败
sub2api的容器日志 2026-05-01T21:20:29.749+0800 WARN handler/openai_gateway_handler.go:377 openai.forward_failed {"service": "sub2api", "env": "production", "component": "http", "request_id": "5a33bf9f-569c-4a09-8c9a-044555a6eecf", "client_request_id": "", "path": "/responses/compact", "method": "POST", "client_request_id": "8722016d-01f2-4e41-bd4f-d8c319d5e01f", "component": "handler.openai_gateway.responses", "user_id": 1, "api_key_id": 12, "group_id": 13, "model": "gpt-5.5", "stream": false, "account_id": 26, "fallback_error_response_written": false, "error": "upstream request failed: Post "https://chatgpt.com/backend-api/codex/responses/compact": context canceled"} 2026-05-01T21:20:29.750+0800 WARN handler/openai_gateway_handler.go:508 codex.remote_compact.failed {"service": "sub2api", "env": "production", "component": "http", "request_id": "5a33bf9f-569c-4a09-8c9a-044555a6eecf", "client_request_id": "", "path": "/responses/compact", "method": "POST", "client_request_id": "8722016d-01f2-4e41-bd4f-d8c319d5e01f", "component": "handler.openai_gateway.responses", "remote_compact": true, "compact_outcome": "failed", "status_code": 502, "latency_ms": 56505, "path": "/responses/compact", "force_codex_cli": false, "request_user_agent": "codex_vscode/0.126.0-alpha.8 (Mac OS 15.7.3; arm64) unknown (VS Code; 26.422.71525)", "request_model": "gpt-5.5", "account_id": 26, "upstream_request_id": "5a33bf9f-569c-4a09-8c9a-044555a6eecf"} 2026-05-01T21:20:29.781+0800 INFO middleware/logger.go:60 http request completed {"service": "sub2api", "env": "production", "component": "http", "request_id": "5a33bf9f-569c-4a09-8c9a-044555a6eecf", "client_request_id": "", "path": "/responses/compact", "method": "POST", "client_request_id": "8722016d-01f2-4e41-bd4f-d8c319d5e01f", "component": "http.access", "status_code": 502, "latency_ms": 56540, "client_ip": "172.19.0.1", "protocol": "HTTP/1.1", "method": "POST", "path": "/responses/compact", "account_id": 26, "platform": "openai", "model": "gpt-5.5", "completed_at": "2026-05-01T21:20:29.781+0800"}
sub2api的界面日志: [ { "kind": "request_error:request_body_truncated", "message": "Post "https://chatgpt.com/backend-api/codex/responses/compact": context canceled", "platform": "openai", "account_id": 26, "at_unix_ms": 1777640958758, "account_name": "[email protected]", "upstream_request_body": "{"model":"gpt-5.5"}" } ]
请问需要怎么配置呢,各位大佬
openai的账号的Compact 模式没有配置,默认是自动,这个需要选择强制开启吗?
同样的问题 请问如何解决