Commit Graph

22 Commits

Author SHA1 Message Date
朱潮
82dad33a95 fix: 删除数据集时 RAGFlow 报错也视为成功
RAGFlow 删除(权限不足/数据集不存在等)失败时吞掉异常、记 warning,
继续清理本地 user_datasets 关联记录并向用户返回成功。
顺带在 README 补充生产发布流程。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-21 10:03:56 +08:00
朱潮
86bf8285e5 fix: list_datasets 改为本地表分页,修复 page_size 超限 500
去掉 service 层硬编码 page_size=1000 拉取 RAGFlow 全部数据集的写法
(撞 SDK 上限 100 导致 500),改为直接从 user_datasets 表分页返回。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-21 09:49:10 +08:00
朱潮
f5bb23a2d1 merge 2026-05-07 19:36:27 +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
朱潮
6d6c7a92ef add voice skill 2026-04-01 10:26:17 +08:00
朱潮
80559bdd7d _call_agent_v3 2026-03-31 14:29:24 +08:00
朱潮
b4cf5face0 Merge branch 'feature/moshui20260330-schedule-job' into bot_manager 2026-03-31 11:20:12 +08:00
朱潮
393c4e4138 schedule 通过 aiohttp POST 请求调用
http://127.0.0.1:8001/api/v2/chat/completions
2026-03-31 11:19:59 +08:00
朱潮
2b749e988f merge from feature/moshui20260330-schedule-job 2026-03-31 09:46:17 +08:00
朱潮
3b9c7165a9 feat: 添加定时任务调度系统(schedule-job)
- 新增 schedule-job skill,支持 cron 周期任务和一次性定时任务
- 新增 schedule_manager.py CLI 工具(list/add/edit/delete/toggle/logs)
- 新增 ScheduleExecutor 全局异步调度器,每 60s 扫描到期任务并调用 agent 执行
- 任务数据存储在 projects/robot/{bot_id}/users/{user_id}/tasks.yaml
- 执行结果写入 task_logs/execution.log
- 集成到 FastAPI lifespan 生命周期管理
- 添加 croniter、pyyaml 依赖

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 23:17:47 +08:00
朱潮
35a3683439 增加16khz 2026-03-23 17:32:07 +08:00
朱潮
30dc697071 realtime接口支持16khz输出 2026-03-23 10:37:17 +08:00
朱潮
2d2e1dbcdf vad 2026-03-22 00:52:11 +08:00
朱潮
7a547322e3 语义分割 2026-03-22 00:42:57 +08:00
朱潮
99273a91d3 支持语音合成和语音识别api 2026-03-21 23:50:51 +08:00
朱潮
43a77b3015 语音播放优化 2026-03-21 17:24:42 +08:00
朱潮
3ee80a637e 语音优化 2026-03-21 16:52:54 +08:00
朱潮
ba65c44755 语音 2026-03-21 02:44:56 +08:00
朱潮
4b70da5bb0 语音 2026-03-21 02:41:10 +08:00
朱潮
16c50fa261 语音 2026-03-21 02:16:21 +08:00
朱潮
4fbc7e8667 已经实现基本对话 2026-03-21 01:00:02 +08:00
朱潮
bd39a53507 add rag flow 2026-02-10 18:59:10 +08:00