stabey
|
ada690624b
|
fix(usage): render responses call items in conversation view
|
2026-06-04 11:06:36 +08:00 |
|
stabey
|
de0a880ca6
|
test(gateway): 修复 usage wallet 测试栈溢出
|
2026-05-31 03:35:01 +08:00 |
|
stabey
|
ba4e194cb5
|
test(gateway): 修复 usage base 记录测试栈溢出
|
2026-05-31 03:21:29 +08:00 |
|
stabey
|
1c05a722c1
|
test(gateway): 修复 usage local 同步测试栈溢出
|
2026-05-31 03:09:11 +08:00 |
|
stabey
|
eda94913cf
|
test(gateway): 修复 usage 同步测试栈溢出
CI 中 gateway_records_pending_usage_before_execution_runtime_sync_result_arrives 仍会在默认测试栈上溢出。
复用 large-stack tokio runtime 包装该测试,避免 gateway 全量测试在无业务失败时被 SIGABRT 中断。
|
2026-05-31 02:54:11 +08:00 |
|
stabey
|
3dfafbc379
|
fix(ai): 按 Responses 文本分片去重快照
upstream 已有 8abedecb 处理单个 OpenAI Responses 文本流中 delta 与 done/completed 快照重复输出的问题。
本提交保留该方向,并把去重状态从全局文本扩展为按 output_index/item_id 与 content_index 分片记录,避免多个 message item 或多个 text content part 共用同一段快照状态。
|
2026-05-31 02:54:11 +08:00 |
|
stabey
|
8d1e54eba6
|
fix(stream): 中途失败时不合成正常收尾
上游流式读取失败后,已经缓冲的局部转换状态可能是不完整的工具调用。
在 terminal failure 存在时跳过 normalizer 和 rewriter 的 finish 路径,避免把半截 tool_use 补成正常的 Claude message_stop。
|
2026-05-31 02:54:11 +08:00 |
|
stabey
|
6bfd56b54f
|
fix(usage): 避免上游流式错误误记为成功
当上游流式响应中途失败时,sync error payload 可能同时包含合成错误体和部分上游流 body。
优先使用合成错误体生成 usage 终态,避免只因为上游先返回过 200 和部分 SSE 内容就把失败请求记录为 completed/settled。
|
2026-05-31 02:54:11 +08:00 |
|
stabey
|
dcfdba0a97
|
fix: preserve claude tool results in openai chat conversion
Preserve all Claude tool_result blocks when emitting OpenAI Chat messages, including multimodal image/file content and is_error markers.
|
2026-05-09 22:16:27 +08:00 |
|
stabey
|
5f4fa4ce1f
|
fix: preserve upstream stream accept negotiation
|
2026-05-09 12:54:47 +08:00 |
|
stabey
|
7e5a08e09d
|
fix: enforce provider upstream stream policy
|
2026-05-09 12:30:56 +08:00 |
|