CJACK
f313d0068f
feat: implement code fence awareness in tool sieve to prevent false-positive XML tool detection inside code blocks and refine prompt instructions.
2026-04-20 00:13:14 +08: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.
f4ed10d38d
disable token-mismatch gate by default in raw stream simulator
2026-04-07 20:38:29 +08:00
CJACK.
d9e65c9710
remove upstream token-usage plumbing and always estimate from content
2026-04-07 20:12:18 +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.
37fb758191
Make full quality gates pass across repository
2026-04-06 13:41:58 +08:00
CJACK.
3b99d2edbe
docs: add full-sample token replay command and report fields
2026-04-06 12:32:31 +08:00
CJACK.
f6c09ebd63
fix: keep node error-branch token semantics and add grep fallback
2026-04-06 12:32:26 +08:00
CJACK.
9e0fd83a76
test: validate raw stream token replay and enforce gofmt in lint script
2026-04-06 11:15:08 +08:00
CJACK
1664349a29
docs: update documentation for raw stream test samples
2026-04-06 02:44:20 +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
f7261bec0d
docs: remove obsolete raw stream samples and update testing documentation
2026-04-05 03:07:10 +08:00
CJACK
0bebb4b28d
refactor: replace processed output comparison with baseline-based validation in SSE simulator
2026-04-05 01:34:06 +08:00
CJACK
93879c9808
feat: implement rawsample package for automated capture persistence and add admin handlers for sample management
2026-04-05 01:12:31 +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.
e1df5c8636
Fail fast when capture request fails
2026-04-03 13:06:57 +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.
bfca84c2c7
Align tool-call parsing across Go/JS and pass quality gates
2026-04-01 01:24:55 +08:00
CJACK.
1fe1240240
fix(js): prevent XML wrapper attribute tool_calls scan loop
2026-03-30 15:59:34 +08:00
CJACK.
775bf3b578
refactor(js): align tool-sieve segment start and tail window with go
2026-03-30 15:41:26 +08:00
CJACK.
ab3943ebeb
test(js): cover numbered planning prose around tool calls
2026-03-30 15:39:09 +08:00
CJACK.
6efba7b2e4
fix(js): avoid false tool-call capture on plain tool_calls prose
2026-03-30 12:51:33 +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
30a53b6c43
refactor: remove legacy TOOL_CALL_HISTORY/TOOL_RESULT_HISTORY markers and consolidate tool call formatting into a new prompt package
2026-03-30 00:20:38 +08:00
CJACK
c3c644ff8c
111
2026-03-29 19:49:52 +08:00
CJACK.
56a3ed19e8
fix(toolcall): support canonical xml params and guard json shadowing
2026-03-29 11:15:52 +08:00
CJACK.
15891ddc25
Fix quality-gate fixture drift for permissive tool-call policy
2026-03-22 21:24:06 +08:00
CJACK.
97a81c4191
Harden toolcall leak interception for function-style payloads
2026-03-22 20:07:12 +08:00
CJACK.
b108a7915a
Support nested fenced blocks in stream fence tracking
2026-03-22 15:12:55 +08:00
CJACK.
2caabd8ce6
Add files via upload
2026-03-22 14:18:08 +08:00
CJACK.
5031ae0e6f
ci: align refactor line gate with removed files
2026-03-22 10:38:08 +08:00
CJACK.
6a39543288
fix tool-call json leaks when feature_match is disabled
2026-03-22 08:29:01 +08:00
CJACK.
d530d25793
Expand history-sanitize boundary coverage for stream chunks
2026-03-22 00:57:13 +08:00
CJACK.
648bb74587
Fix streaming whitespace trim and capture TOOL_RESULT_HISTORY
2026-03-22 00:44:44 +08:00
CJACK.
6758514c61
chore: remove obsolete openai tool-history normalization helpers
2026-03-22 00:28:32 +08:00
CJACK.
7061094964
Fix fence-strip regression for closed code blocks before tool JSON
2026-03-21 17:39:08 +08:00
CJACK.
b8ff678f24
Align Vercel JS toolcall filtering with Go semantics
2026-03-21 00:23:22 +08:00
CJACK.
184a3d1e4e
Sync Node tool-call parsing with aggressive fenced/mixed policy
2026-03-20 02:16:37 +08:00
CJACK.
fb5fc0e885
Default to aggressive tool-call interception in mixed/fenced text
2026-03-20 02:03:46 +08:00
CJACK.
20b603666d
Allow standalone parser to detect mixed prose tool JSON
2026-03-20 02:03:32 +08:00
CJACK.
145501d4a5
fix(tool-sieve): allow mixed prose + tool json interception
2026-03-20 01:15:32 +08:00
CJACK.
f16e0b579e
Merge pull request #92 from valkryhx/main
...
fix(toolcall): fix deepseek function calling bug and add json repair
2026-03-18 00:15:47 +08:00
CJACK.
7648d5f192
ci: keep entry line cap precedence over frontend cap
2026-03-16 23:06:58 +08:00
CJACK.
d35e5eab25
ci: ignore tests in line gate and raise frontend limit
2026-03-16 22:58:13 +08:00
huangxun
7318d1f4a8
fix(toolcall): fix deepseek function calling bug and add json repair
...
- Fix: Expand stream sieve keywords to support function.name: and [TOOL_CALL_HISTORY]
- Fix: Add repairInvalidJSONBackslashes to handle unescaped backslashes in Windows paths
- Sync: Update JS stream sieve to match Go implementation
- Test: Add unit tests for backslash repair and deepseek format parsing
- Tool: Move repair json test tool to tests/repair_json_tool.go
2026-03-13 13:47:40 +08:00