CJACK
df61f06d9a
归一化优化
2026-04-26 04:44:55 +08:00
CJACK
7475defeca
fix: align tool call protocol and thinking controls
2026-04-26 04:26:51 +08:00
CJACK
f13ad231ac
全局统一映射
2026-04-26 01:58:15 +08:00
CJACK
1b0e8cbadb
Tighten XML tool call parsing and upstream empty handling
2026-04-26 01:17:16 +08:00
CJACK
131ca7d398
feat: revamp DeepSeek v4 model handling
...
- replace legacy DeepSeek ids with the new deepseek-v4 model family\n- move thinking control to request parameters and preserve assistant reasoning content\n- switch history split to IGNORE transcript injection and map upload auth failures to 401\n- update admin defaults, API docs, samples, and tests for the new model scheme
2026-04-26 00:02:14 +08:00
ouqiting
9a404e75fc
feat: 对话记录支持保存并展示 HISTORY 内容
2026-04-23 14:47:43 +08:00
CJACK.
b6fba47bcf
feat: prepend strong instruction override to history prompt to ensure context adherence
2026-04-22 20:53:35 +00: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.
c291d333c4
feat: extract and inject assistant reasoning content into history split prompts
2026-04-22 19:56:28 +00:00
CJACK.
2788e20f05
feat: implement history split functionality to optimize context usage and add corresponding UI settings
2026-04-22 18:23:09 +00:00
CJACK.
fe8a6bd3cd
refactor: improve chat history persistence reliability with metadata-only migration, error handling, and optimized file updates
2026-04-22 16:22:04 +00:00
ouqiting
f125c7ab83
增加“对话记录”
2026-04-22 15:17:10 +08:00
songguoliang
d73f7b8b73
/v1/chat/completions 接口返回报文中出现了[citation:1][citation:2]等未解析的标签,本次改动将返回报文中的标签做了解析
2026-04-20 11:22:31 +08:00
CJACK
10d681ffe7
feat: inject conversation continuity and reasoning instructions into system prompt when thinking is enabled
2026-04-20 00:47:05 +08:00
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
69b7bc0c1a
refactor: enforce mandatory CDATA wrapping for all string parameters in tool call XML output
2026-04-19 20:11:53 +08:00
CJACK
0f2b5fee23
refactor: enhance XML tool call parsing to support nested structures, CDATA, and repeated tags
2026-04-19 19:58:45 +08:00
CJACK
a1ce954ad5
refactor: implement auto-transition from thinking to text content upon detecting </think> tags and remove unused helper functions
2026-04-19 18:05:38 +08:00
CJACK
0c644d1f4d
refactor: remove legacy function call support and simplify tool sieve logic
2026-04-19 04:38:48 +08:00
CJACK
25234af301
feat: enforce request body size limits and restrict inline file count to prevent resource exhaustion
2026-04-13 03:55:14 +08:00
CJACK
2aee80d0d3
fix: update URL decoding method and refine file ID extraction logic to exclude text-based inputs
2026-04-13 03:49:06 +08:00
CJACK
ab9f3cc417
refactor: remove unused leakedDanglingThinkOpenPattern regex from output sanitizer
2026-04-13 03:40:20 +08:00
CJACK
d78789a66e
feat: implement error handling for empty upstream responses in chat streams and update UI to display stream-level errors
2026-04-13 03:22:38 +08:00
CJACK
acb110865f
feat: implement cross-account validation and improved error handling for file attachments in API tester
2026-04-13 03:15:12 +08:00
CJACK
d53a2ea7d2
refactor: remove unused purpose parameter from upload and upstream empty output handlers
2026-04-13 01:59:51 +08:00
CJACK
daa636e040
refactor: handle upstream thinking-only responses as errors and sanitize dangling think tags in output
2026-04-13 01:55:14 +08:00
CJACK
2027c7cd77
fix: add JSON headers to DeepSeek requests and prevent string content from being parsed as file IDs in OpenAI adapter
2026-04-12 23:49:56 +08:00
CJACK
0591128601
refactor: fix file handling error suppression, optimize hash calculation, and update API documentation with additional models
2026-04-12 23:35:57 +08:00
CJACK
caafdedb00
feat: implement OpenAI-compatible file upload and reference handling for DeepSeek API
2026-04-12 23:30:22 +08:00
CJACK
0a23c77ff7
feat: add sanitization for think tags and BOS markers in leaked output and update golang.org/x/net dependency
2026-04-12 17:43:57 +08:00
CJACK.
433a3a877d
feat(prompt): align DeepSeek prompt assembly with tokenizer-style turns
2026-04-12 13:59:42 +08:00
Shuaihao
ba76a2163b
Add default, expert, and vision DeepSeek model families
2026-04-08 14:37:22 +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.
668b9c26bd
Unify token usage pass-through on OpenAI translate pipeline
2026-04-07 10:16:23 +08:00
CJACK.
5bcea3d727
Propagate upstream token usage across Gemini usage metadata
2026-04-07 10:16:00 +08:00
CJACK.
96b8587c5b
Fix token usage propagation and remove stale env docs
2026-04-07 08:27:03 +08:00
CJACK
b79a13efd5
feat: support explicit prompt token tracking in SSE parsing and stream handlers
2026-04-07 01:39:27 +08:00
CJACK.
26aa02d4b5
fix(openai): return 429 for empty upstream output
2026-04-06 16:56:17 +08:00
CJACK.
37fb758191
Make full quality gates pass across repository
2026-04-06 13:41:58 +08:00
CJACK.
a8c160b05d
fix: parse DeepSeek accumulated_token_usage robustly and stabilize lint
2026-04-06 11:14:48 +08:00
CJACK
1530246e4f
refactor: move tool call parsing and formatting logic to a dedicated internal/toolcall package
2026-04-06 03:19:18 +08:00
CJACK
4d36afea4c
修复接续流的增量bug
2026-04-06 02:01:41 +08:00
CJACK
2a6b787f38
feat: implement mandatory DeepSeek turn termination markers for system, user, assistant, and tool roles
2026-04-05 21:48:18 +08:00
CJACK
dc912419c4
Revert "refactor: rename tool XML wrapper from tool_calls to tool_batch and add schema attention blocks to tool prompts"
...
This reverts commit ade648033d .
2026-04-05 20:08:04 +08:00
CJACK
ade648033d
refactor: rename tool XML wrapper from tool_calls to tool_batch and add schema attention blocks to tool prompts
2026-04-05 19:22:43 +08:00
CJACK
5d59775051
refactor: enforce strict XML-only output for tool calls and remove mixed-content instructions
2026-04-05 17:25:52 +08:00
CJACK
22efd8178b
refactor: clarify tool call XML placement and add strict rules against result fabrication and internal narration
2026-04-05 17:13:59 +08:00
CJACK
0b0cf60982
feat: propagate Proof-of-Work header to auto-continue requests and ensure remote session deletion ignores parent context cancellation
2026-04-05 14:33:09 +08:00
CJACK
97e72fb174
feat: add configurable auto-delete modes (none, single, all) for remote chat sessions
2026-04-05 04:18:34 +08:00