win 502d57652f chore: merge upstream Wei-Shaw/sub2api v0.1.130-fix
Upstream 改动 (PR #2636):
- fix(gateway): retry on "thinking block must contain thinking" upstream error
  跨模型切换时,其他模型回过的 assistant 历史里有 type=thinking 但缺
  thinking 文本,送给开启 extended thinking 的 Claude 会被拒,通过
  signature error 重试机制可恢复。

修改文件: backend/internal/service/gateway_service.go (+9),
gateway_request_test.go (+31 测试)
2026-05-20 22:06:26 +08:00
..
x
2026-04-27 19:01:41 +08:00
2026-03-13 17:00:16 +08:00
2026-03-13 19:15:27 +08:00
2026-03-13 19:15:27 +08:00
x
2026-04-16 19:11:47 +08:00
x
2026-04-16 19:11:47 +08:00
x
2026-04-27 19:01:41 +08:00
x
2026-04-27 19:01:41 +08:00
x
2026-04-16 19:11:47 +08:00
x
2026-04-27 19:01:41 +08:00
x
2026-04-29 10:32:36 +08:00
2026-04-01 01:35:49 +08:00
2026-01-05 17:07:29 +08:00
x
2026-04-16 19:11:47 +08:00
x
2026-04-16 19:11:47 +08:00
x
2026-04-29 10:32:36 +08:00
2026-01-15 15:14:44 +08:00
2026-01-15 15:14:44 +08:00
2026-01-15 15:14:44 +08:00
2026-05-19 19:37:41 +08:00
2026-05-19 19:37:41 +08:00
2026-05-19 19:37:41 +08:00
x
2026-04-27 19:01:41 +08:00
2026-02-02 22:13:50 +08:00
2026-04-23 16:34:37 +08:00