-
-
Notifications
You must be signed in to change notification settings - Fork 181
Closed
Labels
Milestone
Description
当使用 codex 原生的 compact 接口 v1/responses/compact 会报错
{
"error": {
"code": "unknown_parameter",
"type": "invalid_request_error",
"param": "stream",
"message": "Unknown parameter: 'stream'."
}
}
其原因应该是
claude-code-hub/src/app/v1/_lib/codex/utils/request-sanitizer.ts
Lines 227 to 230 in 12cd84a
| // Codex API 的默认行为 | |
| if (output.stream === undefined) { | |
| output.stream = true; // Codex 默认流式 | |
| } |
在 stream 参数未定义的时候被强制设置成了 true 导致的
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Projects
Status
Done