CJACK
0378d8c0a9
feat: add empty-output retry and Vercel auto-continue support
...
- Auto-retry Chat/Responses streams once when upstream output is empty but not content-filtered, reusing session/token/PoW and appending a regeneration suffix to the prompt
- Wire DeepSeek continue API into Vercel streams for multi-round thinking output exhaustion
- Defer empty-output errors in stream finalizers to enable synthetic retry; only surface failure when the retry budget is exhausted
- Track content_filter stops to avoid retry on filtered outputs
- Add comprehensive tests for stream/non-stream retry, Responses retry, and content_filter no-retry
- Update prompt-compatibility.md documentation
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-27 18:00:52 +08:00
CJACK
40c61949e8
align vercel stream finalization with go
2026-04-26 08:29:23 +08:00
CJACK
df61f06d9a
归一化优化
2026-04-26 04:44:55 +08:00
CJACK
a44afb335a
Relax CORS preflight handling across interfaces
2026-04-26 00:37:25 +08:00
CJACK.
5cf56e7628
fix: reset tool call state between separate tool blocks to ensure unique IDs across stream segments
2026-04-22 20:10:06 +00:00
CJACK
c945f49fc4
refactor: remove JSON-based tool call parsing from sieve and delete associated compatibility tests
2026-04-19 13:39:47 +08:00
CJACK.
a14e5b0847
temporarily ignore upstream token usage fields globally
2026-04-07 19:40:47 +08:00
CJACK.
96b8587c5b
Fix token usage propagation and remove stale env docs
2026-04-07 08:27:03 +08:00
CJACK
49012a227c
feat: implement trimContinuationOverlap utility to remove redundant stream prefixes and add associated tests.
2026-04-06 02:23:28 +08:00
CJACK
b699077b43
fix: make FINISHED status check case-insensitive in chat stream parsing
2026-04-05 23:56:19 +08:00
CJACK
49430123d8
fix: ignore INCOMPLETE status messages in SSE stream parsing to prevent stream interruption
2026-04-05 23:38:47 +08:00
CJACK
eff979d9ef
feat: enhance content filtering, token usage tracking, and stream error handling in chat-stream modules
2026-04-05 13:41:38 +08:00
CJACK
c9201174f6
feat: add compatibility setting to strip reference markers from model output and update stream handlers accordingly
2026-04-05 00:50:30 +08:00
CJACK.
fabdba48c3
Restrict Vercel Node stream path to OpenAI chat to avoid Gemini empty responses
2026-04-03 11:28:54 +08:00
CJACK.
a28e833f33
Promote raw stream replay into standalone simulator tool and add SSE field doc
2026-04-03 10:18:48 +08:00
CJACK
a7c9dfd7c0
refactor: remove configurable toolcall policy and fix to feature matching with high-confidence early emit
2026-03-30 01:56:25 +08:00
CJACK.
15891ddc25
Fix quality-gate fixture drift for permissive tool-call policy
2026-03-22 21:24:06 +08:00
CJACK.
6a39543288
fix tool-call json leaks when feature_match is disabled
2026-03-22 08:29:01 +08:00
CJACK.
b8ff678f24
Align Vercel JS toolcall filtering with Go semantics
2026-03-21 00:23:22 +08:00
CJACK
93e9fb531d
js对齐
2026-03-01 07:15:35 +08:00
CJACK
d4017b87c1
refactor: Relocate JavaScript source and Node.js test files to dedicated directories and extract OpenAI stream runtime tool call finalization logic.
2026-02-22 22:37:08 +08:00