
bwlcandClaude Opus 4.8
9a0e439803
fix(openai): 跨组会话失配保护移到生效的 WSv2 路径并补测
87dd5f5d 把 previous_response_id 剥离保护加在了 HTTP Responses 路径,但该路径
在 previousResponseID != "" 时已无条件返回 400(0fcddce6 引入),剥离块恒不可达,
RemovePreviousResponseIDFromBody 也只被这段死分支调用、无覆盖。
- 删除 HTTP Responses 路径的死代码剥离块,留注释指明保护应在 WSv2 路径。
- 在 ResponsesWebSocket 首包(wsFirstMessage)处补回等价保护:previous_response_id
未命中当前分组粘连账号(StickyPreviousHit=false)时剥离,改用首包 input 重建;
带 function_call_output 的工具续链保持原样。这是 previous_response_id 真正生效、
会触发跨组会话链鉴权失败的路径。
- 为 RemovePreviousResponseIDFromBody 增加单元测试(现已有真实 caller)。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 20:30:56 +08:00
..
2026-06-05 14:00:57 +08:00
2026-06-06 09:28:46 +08:00
2026-05-26 10:49:20 +08:00
2026-02-02 22:13:50 +08:00
2026-06-02 00:46:50 +08:00
2026-04-22 13:19:28 +08:00
2026-05-19 15:27:47 +08:00
2026-05-19 15:27:47 +08:00
2026-05-19 15:27:47 +08:00
2026-05-19 15:27:47 +08:00
2026-05-06 20:52:10 +08:00
2026-05-06 20:52:10 +08:00
2026-05-20 13:25:45 +08:00
2026-06-06 13:05:07 +08:00
2026-06-06 13:05:07 +08:00
2026-04-22 12:30:00 +08:00
2026-05-30 17:52:18 +08:00
2026-05-20 13:25:45 +08:00
2026-05-21 15:19:29 +08:00
2026-05-21 15:19:29 +08:00
2026-05-21 15:19:29 +08:00
2026-05-26 10:49:20 +08:00
2026-05-26 10:49:20 +08:00
2026-05-19 15:27:47 +08:00
2026-04-21 21:44:34 +08:00
2026-04-21 21:44:34 +08:00
2026-04-21 00:21:29 +08:00
2026-05-28 10:03:41 +00:00
2026-05-28 10:03:41 +00:00
2026-05-07 09:14:47 +08:00
2026-05-28 19:39:52 +08:00
2026-05-28 19:39:52 +08:00
2026-03-08 14:12:17 +08:00
2026-03-08 14:12:17 +08:00
2026-05-26 10:49:20 +08:00
2026-06-03 14:18:12 +08:00
2026-05-24 22:00:56 +08:00
2026-02-07 19:04:08 +08:00
2026-06-06 15:02:06 +08:00
2026-03-15 16:21:49 +08:00
2026-05-26 10:49:20 +08:00
2026-06-01 14:50:36 +08:00
2026-02-07 22:14:07 +08:00
2026-03-09 19:55:18 +08:00
2026-05-30 20:01:39 +08:00
2026-01-06 20:31:40 +08:00
2026-05-30 20:01:39 +08:00
2026-05-27 18:00:45 +08:00
2026-02-07 17:12:15 +08:00
2026-04-01 02:20:13 +08:00
2026-06-01 14:50:36 +08:00
2026-05-07 09:14:47 +08:00
2026-02-23 12:45:37 +08:00
2026-02-23 12:45:37 +08:00
2026-05-26 10:49:20 +08:00
2026-05-05 03:26:54 +08:00
2026-02-12 19:01:09 +08:00
2026-06-06 15:02:06 +08:00
2026-05-29 16:21:59 +08:00
2026-04-25 05:26:33 +00:00
2026-03-15 22:13:42 +08:00
2026-06-04 11:17:22 +00:00
2026-06-07 20:30:56 +08:00
2026-05-28 22:44:25 +08:00
2026-05-05 03:26:54 +08:00
2026-06-06 09:53:08 +08:00
2026-06-03 14:18:12 +08:00
2026-06-03 14:18:12 +08:00
2026-06-05 14:00:57 +08:00
2026-06-05 14:00:57 +08:00
2026-06-05 14:00:57 +08:00
2026-05-12 15:21:31 +08:00
2026-05-07 10:05:49 +08:00
2026-05-11 11:17:26 +08:00
2026-05-20 15:12:57 +08:00
2026-05-11 11:17:26 +08:00
2026-05-11 11:17:26 +08:00
2025-12-26 16:45:40 +08:00
2025-12-31 08:50:12 +08:00
2025-12-31 08:50:12 +08:00
2026-04-21 20:36:10 +08:00
2026-06-05 14:00:57 +08:00
2026-05-25 18:16:46 +08:00
2026-05-25 18:16:46 +08:00
2025-12-26 16:45:40 +08:00
2026-05-20 13:25:45 +08:00
2026-06-05 14:00:57 +08:00
2026-06-05 14:00:57 +08:00
2026-04-09 18:14:28 +08:00
2026-06-05 14:00:57 +08:00
2026-05-28 22:44:25 +08:00
2026-05-30 17:52:18 +08:00
2026-05-26 10:49:20 +08:00
2026-03-03 01:05:11 +08:00
2026-05-26 10:49:20 +08:00
2026-05-20 11:09:18 +08:00