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
a44afb335a
Relax CORS preflight handling across interfaces
2026-04-26 00:37:25 +08:00
CJACK
f1ba805173
fix: fully mask web secret previews
2026-04-26 00:10:59 +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
MuziIsabel
de9d128545
fix: strip content-encoding header in proxyToGo to prevent Brotli decode error
...
Node fetch auto-decompresses upstream responses, but proxy_go.js was
forwarding the original content-encoding header (e.g. br/gzip) to clients.
Clients then tried to decompress already-decompressed data and failed.
Filter out content-encoding alongside content-length.
2026-04-25 12:10:28 +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.
77484bf813
feat: add account editing functionality with UI modal and backend handler
2026-04-22 17:20:44 +00:00
CJACK.
f14969eca5
feat: implement API key metadata preservation and make chat history migration best-effort
2026-04-22 16:59:10 +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
CJACK.
797ab77873
Merge pull request #279 from CJackHwang/codex/add-api-key-name-handling-in-webui
...
feat(account): add structured API key and account name/remark support
2026-04-22 23:52:54 +08:00
CJACK.
8f09e3b381
feat: implement API key management with reconciliation and add update key endpoint
2026-04-22 15:51:43 +00:00
CJACK.
3a79b07d33
Merge pull request #282 from livesRan/fix/citation-link-mapping-pr
...
修复搜索场景下 citation 标签偶发未替换问题(FINISHED 后继续收集引用元数据)
2026-04-22 23:31:32 +08:00
ouqiting
4422f989be
fix: satisfy staticcheck QF1007
2026-04-22 20:28:08 +08:00
songguoliang
6052a8d1e2
修复搜索场景 citation 偶发未替换
2026-04-22 19:03:07 +08:00
ouqiting
f125c7ab83
增加“对话记录”
2026-04-22 15:17:10 +08:00
CJACK.
8ff923cd77
feat(account): add key/account name and remark metadata
2026-04-22 01:43:20 +08:00
songguoliang
8f01aa224c
本次修复了搜索场景下 citation 标签未完全映射的问题。根因是 citation 顺序收集阶段对 URL 做了去重,导致当上游返回重复来源且 cite_index 缺失或不稳定时,位置索引被压缩,部分 [citation:x] 无法找到对应链接。修复后改为保留上游结果的原始顺序(包括重复 URL),从而保证按位置回填 citation 时不会丢号。
2026-04-21 10:52:17 +08:00
CJACK.
e0ed4ba238
Handle one-based and zero-based citation indices safely
2026-04-20 18:29:58 +08:00
CJACK.
ae37654893
Fix zero-based citation index normalization
2026-04-20 18:18:00 +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.
69eb71159d
Handle variable-length markdown fences in toolcall parser
2026-04-19 23:37:31 +08:00
CJACK.
5b7cdaa729
Fix XML tool-call parsing for fenced markdown examples
2026-04-19 23:11:24 +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
26d195f2a6
refactor: update tool call format to prefer XML-style parameters with CDATA support for robust content handling
2026-04-19 18:51:25 +08:00
CJACK
790a8ca980
refactor: implement robust think tag stripping and CDATA handling for SSE stream parsing
2026-04-19 18:35:56 +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
6688e0ba35
refactor: remove unnecessary whitespace and end-of-sentence markers to align with official DeepSeek chat template encoding
2026-04-19 17:47:45 +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
0c644d1f4d
refactor: remove legacy function call support and simplify tool sieve logic
2026-04-19 04:38:48 +08:00
ugurtafrali
daf3307b88
fix: Increase account page size limit to 5000
2026-04-18 05:16:57 +03: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
ffca8be597
feat: implement file readiness polling and add IsImage field to upload results
2026-04-13 02:55:45 +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