Commit Graph

855 Commits

Author SHA1 Message Date
朱潮
cacf31abbe Merge branch 'feature/mcp-ui' into bot_manager 2026-05-15 18:02:34 +08:00
朱潮
26582f7d39 add config.tool_response or is_ui_resource — UIResource 始终输出,其他 tool response 仍受 tool_response 参数控制 2026-05-15 18:02:26 +08:00
朱潮
eb307cb1de fix requirements 2026-05-15 17:54:42 +08:00
朱潮
b842778be0 add mcp-ui 2026-05-15 14:22:10 +08:00
朱潮
5dfe2eba28 feat: add bot_id and model to langfuse metadata
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 18:14:41 +08:00
朱潮
32508ae9d4 fix: langfuse CallbackHandler API and tarfile dereference parameter
- Update langfuse CallbackHandler to use trace_context instead of removed trace_id/session_id/user_id params
- Pass session_id/user_id via LangChain metadata with langfuse_ prefix
- Move dereference param from TarFile.add() to tarfile.open()

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 17:14:37 +08:00
朱潮
0c84beaeb0 add langfuse 2026-05-14 16:45:21 +08:00
朱潮
3f895f8fe4 add langfuse 2026-05-14 12:14:21 +08:00
朱潮
a8f643a10c fix: use POST /api/token/{id}/key to get full unmasked key for new NewAPI v0.13.2
New version of NewAPI masks token keys with asterisks in list/detail endpoints.
Added get_token_key() method that calls the dedicated endpoint to retrieve
the full key, and integrated it into get_or_create_token() flow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-13 12:49:38 +08:00
朱潮
180e569b09 修改为正常loader 2026-05-13 08:57:44 +08:00
朱潮
81d0ebdce7 把建表语句移到迁移函数之前执行,并把 agent_user、agent_user_tokens、bot_shares 也加入基础建表列表。 2026-05-12 20:49:16 +08:00
朱潮
9984b5c39f 复用playwright 2026-05-12 20:20:35 +08:00
朱潮
60ff6ff913 PLAYWRIGHT_DOWNLOAD_HOST 环境变量,指向 https://registry.npmmirror.com/-/binary/playwright(淘宝 NPM 镜像) 2026-05-12 20:17:03 +08:00
朱潮
718ec5302e Merge branch 'developing' into bot_manager 2026-05-12 12:44:19 +08:00
朱潮
7b4f03d340 更新policy.md 2026-05-12 12:40:12 +08:00
朱潮
2a83d0fa05 更新policy.md 2026-05-12 12:23:20 +08:00
朱潮
be96f240b3 更新几个 policy.md 2026-05-12 10:05:24 +08:00
csh28
65db950aa8 Merge branch 'feature/agent-final-answer-first-char' into dev 2026-05-11 21:05:53 +08:00
csh28
a9aaa851e9 chore: Add methods tools/call. 2026-05-11 21:05:41 +08:00
csh28
6d9bcc0400 Merge origin/dev into dev 2026-05-11 20:56:47 +08:00
csh28
9d00bad5f2 Merge feature/agent-final-answer-first-char into dev 2026-05-11 20:45:42 +08:00
csh28
e4fc0db07d chore: improve agent error logging 2026-05-11 20:29:27 +08:00
朱潮
9eb1d6b068 Merge branch 'feature/moshui20260511-sub-agents' into dev 2026-05-11 20:16:29 +08:00
朱潮
a92096a646 pmda-drug-infomock数据 2026-05-11 19:15:03 +08:00
朱潮
2abb3ff756 Merge branch 'feature/moshui20260511-sub-agents' into dev 2026-05-11 18:55:32 +08:00
朱潮
5b634bc2ab 增加子agent支持 2026-05-11 18:55:25 +08:00
朱潮
ff8d9f453e Merge branch 'developing' into dev 2026-05-11 16:55:40 +08:00
朱潮
dcfc43a25b Merge branch 'developing' of https://github.com/sparticleinc/catalog-agent into developing 2026-05-11 16:54:22 +08:00
朱潮
e6d16982ab 更新retrieval-policy.md 2026-05-11 16:54:14 +08:00
朱潮
12e6b4b3c4 更新retrieval-policy.md 2026-05-11 16:46:26 +08:00
csh28
331229482d Merge feature/agent-final-answer-first-char into dev 2026-05-11 14:13:28 +08:00
csh28
1e608f0092 Merge feature/agent-final-answer-first-char into developing 2026-05-11 14:00:34 +08:00
csh28
1f06450402 Propagate trace id through MCP metadata 2026-05-08 18:59:42 +08:00
csh28
951948639e Add agent final answer first char metric 2026-05-08 15:43:48 +08:00
朱潮
84844933b9 Merge branch 'developing' into bot_manager 2026-05-07 23:16:56 +08:00
朱潮
01457b4ffb Dockerfile.modelscope 2026-05-07 23:16:50 +08:00
朱潮
ed1b0bb85d Merge branch 'developing' into bot_manager 2026-05-07 23:14:07 +08:00
朱潮
18e9200be2 字节码不编译/skills /projects/ 2026-05-07 23:00:53 +08:00
朱潮
1dae2a1bc0 镜像源:mirrors.aliyun.com → pypi.tuna.tsinghua.edu.cn(清华源,国内通常更稳定) 2026-05-07 21:13:52 +08:00
朱潮
b220d550a6 add poetry 2026-05-07 20:23:27 +08:00
朱潮
23df1bf89b 优化召回提示词 2026-05-07 19:47:14 +08:00
朱潮
f5bb23a2d1 merge 2026-05-07 19:36:27 +08:00
朱潮
a9227b8046 support add kfs-answer 2026-05-06 19:39:53 +08:00
朱潮
3c0fa498b5 🐛 fix(sync): sync dataset symlinks to Daytona sandbox
The incremental sync used `find -type f` which misses symlinks (type l),
so dataset symlinks were never detected and synced to the sandbox.
Additionally, `tar.add()` without `dereference=True` would store broken
symlinks pointing to host-only paths.

- _list_local_changed_files: match both regular files and symlinks
- _tar_workspace_entries: dereference symlinks to pack actual content
- Unify dataset path to `datasets/` (plural) in prompts and SKILL.md

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-06 19:37:00 +08:00
朱潮
425f3c5bb4 chore: replace Chinese comments and log messages with English
Convert all Chinese comments, docstrings, logger/print output,
HTTPException detail messages, and API response messages to English
across the entire codebase. Functional zh/ja localized strings
(e.g. prompt templates, timezone display names, date formats) are
preserved as-is.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-30 19:45:35 +08:00
朱潮
185743fe62 ci: include branch in lark notification titles
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-30 07:47:10 +08:00
朱潮
b148ed111c ci: include image in deploy notifications
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-30 07:42:16 +08:00
朱潮
a0ef1728cf ci: notify after image push succeeds
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-29 19:54:22 +08:00
朱潮
c8637f3418 ci: notify after onprem deployment succeeds
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-29 18:42:20 +08:00
朱潮
bfac221197 Merge branch 'onprem-release' of https://github.com/sparticleinc/catalog-agent into onprem-release 2026-04-29 17:29:32 +08:00