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
298a6f27cc
refactor: extract SSE parsing and Vercel stream logic into dedicated implementation modules
2026-04-05 16:32:13 +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.
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.
c07736fbea
chore: set shared tool-sieve context tail window to 2048
2026-03-30 15:41:38 +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.
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
3ab9d44f60
feat: suppress output of partial XML tool tag fragments in stream processing
2026-03-29 14:59:30 +08:00
CJACK
4b42fe9086
fix: prevent XML tool call leakage by strictly matching opening and closing tag pairs during streaming
2026-03-29 14:40:47 +08:00
CJACK
302bcefeb5
feat: implement XML-based tool call extraction and refactor sieve utilities into dedicated modules
2026-03-29 13:01:11 +08:00
CJACK.
56a3ed19e8
fix(toolcall): support canonical xml params and guard json shadowing
2026-03-29 11:15:52 +08:00
CJACK.
958f4e39b5
feat(toolcall): prioritize XML for model output and parsing
2026-03-29 10:53:38 +08:00
CJACK.
97a81c4191
Harden toolcall leak interception for function-style payloads
2026-03-22 20:07:12 +08:00
CJACK.
1676c8e4f2
Add backward-compatible aliases for renamed fenced-example tests
2026-03-22 16:25:03 +08:00
CJACK.
b108a7915a
Support nested fenced blocks in stream fence tracking
2026-03-22 15:12:55 +08:00
CJACK.
6a39543288
fix tool-call json leaks when feature_match is disabled
2026-03-22 08:29:01 +08:00
CJACK.
7ca3f141c6
Pass refactor line gate for tool sieve files
2026-03-22 01:04:01 +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.
17405be300
shrink vercel stream module under line gate limit
2026-03-20 09:47:22 +08:00
CJACK.
5bc03e5de6
align vercel js stream toolcall delta behavior with go runtime
2026-03-20 09:36:45 +08:00
CJACK.
184a3d1e4e
Sync Node tool-call parsing with aggressive fenced/mixed policy
2026-03-20 02:16:37 +08:00
CJACK.
145501d4a5
fix(tool-sieve): allow mixed prose + tool json interception
2026-03-20 01:15:32 +08:00
CJACK.
2d5103997b
fix(tool-sieve): keep mixed prose tool json in strict text mode
2026-03-20 01:15:15 +08:00
huangxun
c9c59f2490
refactor(toolcall): enhance tool call extraction with multiple keywords and safety limits
...
- Add support for multiple keywords: tool_calls, function.name:, [tool_call_history]
- Add OOM protection with search limits in extractToolCallObjects
- Add max scan length limit in extractJSONObject to prevent OOM on unclosed objects
- Update tool_sieve to handle more tool call patterns
- Add loose JSON repair in parseToolCallPayload for better error recovery
This improves DeepSeek tool call parsing robustness.
2026-03-17 16:28:27 +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
CJACK.
12d5f136d5
fix(toolcall): pass gates and align go/js multi-layer parser
2026-03-09 19:16:28 +08:00
CJACK.
60e9d707d4
Merge origin/dev into PR branch and resolve toolcall test conflicts
2026-03-08 01:10:53 +08:00
CJACK.
9b93badb57
Harden markup tag parsing to avoid mismatched-tag false positives
2026-03-08 00:55:32 +08:00
CJACK.
892213071a
Align Go/JS tool-call parsing semantics and compat fixtures
2026-03-08 00:12:43 +08:00
CJACK
d731a1fd4f
门禁
2026-03-01 07:20:24 +08:00
CJACK
93e9fb531d
js对齐
2026-03-01 07:15:35 +08:00
CJACK
a302fb3c25
修复
2026-03-01 05:55:46 +08:00
CJACK
0d3d535c08
feat: prevent raw tool call JSON leakage for unknown or rejected tool calls and consolidate container publishing to GHCR.
2026-02-23 00:27:46 +08:00
CJACK.
1e678ecc1a
fix(node): 移除被过滤工具调用的回退重发并对齐 Go 行为
2026-02-22 23:05:40 +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