CJACK
fd0ec29991
refactor: generalize DSML tag parsing to tolerate model noise; split tiktoken by build tags
...
Replace hardcoded DSML typo variant lists in Go/Node tool call parsers with
generalized prefix consumption that tolerates repeated leading <, repeated DSML
prefix noise, and trailing pipe terminators. Split tiktoken-dependent token
counting into a build-tagged file for non-cgo platform compatibility. Add /data
directory to Dockerfile for bind-mount permissions.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-01 15:17:11 +08:00
NgoQuocViet2001
7dc3af40b2
feat(openai): add root route aliases
2026-04-30 01:24:53 +07:00
MiY
241334c658
Fix stream compatibility and vision model exposure
2026-04-29 20:23:13 +08:00
CJACK.
2c8409dcbb
fix docker defaults to writable /data config path and align docs
2026-04-29 13:46:22 +08:00
Gingiris
047fc9bee2
docs: add Table of Contents to README.MD and README.en.md
...
Both READMEs are 400+ lines with 14 top-level sections and multiple
subsections but have no navigation aid. Add a Table of Contents at the
top of each file to help readers quickly find relevant sections.
Changes:
- README.MD: add 目录 section with links to all h2/h3 headings
- README.en.md: add Table of Contents with matching structure
2026-04-28 12:18:37 -07:00
CJACK
28bb85ad63
refactor: replace history_split with current_input_file configuration
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-27 23:36:56 +08:00
CJACK
90ce595325
chore: update project files
2026-04-27 02:09:11 +08:00
CJACK
40d5e3ebb5
测试DSML
2026-04-27 00:21:26 +08:00
CJACK
22e951b4c4
增加不同上下文模式
2026-04-26 14:21:15 +08:00
CJACK
c09a4b51a5
feat: 新增 thinking 注入配置支持,扩展设置管理与前端交互
...
新增 promptcompat 和 OpenAI shared 层的 thinking 注入逻辑,
完善配置系统的编解码与校验,更新设置管理 API 与前端 UI。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-26 13:35:20 +08:00
CJACK
3627c7366d
修复裸 invoke 标签导致流式输出卡住的问题
...
当模型输出不带 <tool_calls> 包裹的裸 <invoke> 标签时(如文档示例或行内引用),
之前的逻辑会一直等待关闭标签导致流式输出卡住。现在通过 shouldKeepBareInvokeCapture
判断是否为可修复的调用,不可修复的直接作为文本释放。
同时更新 README 文档中工具调用解析说明,并移除 allow-list 过滤的过时描述。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-26 11:14:26 +08:00
CJACK
66c2944be2
docs: update architecture diagrams for 4.x
2026-04-26 08:40:00 +08:00
CJACK
4c83f36089
强制启用文件拆分(实际模型忽略)
2026-04-26 07:31:19 +08:00
CJACK
8a91fef6ab
update doc
2026-04-26 04:58:35 +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
a44afb335a
Relax CORS preflight handling across interfaces
2026-04-26 00:37:25 +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
CJACK.
f178000d69
docs: clarify config template synchronization and archive contents in README files
2026-04-22 17:36:18 +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
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
CJACK.
f7426f9f04
Remove detailed backend architecture explanations
...
Removed detailed descriptions of routing, execution, adapter layers, tool calling, configuration, streaming capabilities, and observability enhancements.
2026-04-20 17:18:37 +08:00
CJACK
b8d844e2f6
docs: remove outdated 3.X architecture documentation from README files
2026-04-20 01:44:58 +08:00
CJACK.
2c08375b49
docs: refresh model alias examples to current defaults
2026-04-19 23:42:34 +08:00
CJACK.
0e7f5cdc86
docs: sync tool-calling semantics with current implementation
2026-04-19 23:12:13 +08:00
CJACK.
08f32c4c40
docs: align API docs with implemented routes
2026-04-19 21:04:06 +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.
04e025c5e1
Update README.MD
2026-04-08 18:21:09 +08:00
CJACK.
a935f61f74
docs: remove duplicated project structure sections from READMEs
2026-04-07 12:32:52 +08:00
CJACK.
475c9086d2
docs: 为展开目录树补充文件夹作用注释
2026-04-07 11:51:14 +08:00
CJACK.
96b8587c5b
Fix token usage propagation and remove stale env docs
2026-04-07 08:27:03 +08:00
CJACK
da778a18fb
refactor: replace WASM-based PoW with a high-performance native Go implementation and add context support for cancellation.
2026-04-07 01:20:01 +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
b105d54c00
feat: add admin endpoints for capturing, querying, and persisting raw upstream samples and increase default capture limits
2026-04-06 02:38:15 +08:00
CJACK
a608a4bd95
chore(webui): migrate vite to v8 toolchain
2026-04-06 00:28:36 +08:00
CJACK
d9eee5fd2d
docs: clarify server binding address and LAN accessibility in documentation and startup logs
2026-04-06 00:13:22 +08:00
CJACK
f2ad888de4
refactor: clean up config schema by removing legacy toolcall fields, standardizing auto_delete mode, and updating admin API documentation.
2026-04-05 18:16:31 +08:00
CJACK
1d80f644d4
refactor: remove legacy environment variable aliases for configuration and concurrency settings
2026-04-05 16:27:58 +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
CJACK
a6836455dc
feat: add support for stripping inline comments in .env files and make Docker host port configurable via DS2API_HOST_PORT
2026-04-04 22:30:57 +08:00
CJACK.
5722f21cdd
Align docs and adapters with unified OpenAI proxy architecture
2026-04-03 01:49:33 +08:00
CJACK.
8b86f1c903
docs: refresh architecture and project structure docs
2026-04-03 01:28:48 +08:00
CJACK.
1cf28101d6
Merge branch 'dev' into codex/update-project-documentation-and-version-number-0jh1p4
2026-04-03 01:17:37 +08:00
CJACK.
47544fb385
docs: align architecture diagram and structure with current code
2026-04-03 01:14:01 +08:00
CJACK.
2a05c96f5f
docs: refresh architecture diagram and structure sections
2026-04-03 01:13:13 +08:00
MoeCaa
48a5f1c39e
完善Docker部教程
...
增加配置文件的复制,由于docker-compose.yml映射了文件但是本地还不存在config.json,启动之后会导致app/config.json被映射成文件夹导致运行报错
2026-04-02 13:19:23 +08:00
CJACK.
836eaf5290
feat(ui): show env mode persistence status and document writeback
2026-03-30 21:18:56 +08:00
CJACK
d79565b250
docs: move documentation files to a dedicated directory and update references
2026-03-30 02:07:24 +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