- 06 Jul, 2026 40 commits
-
-
添加_sanitize_media_url函数清理URL前后的引号、反引号和尖括号 在音频转写函数中调用该函数处理输入的文件URL 更新媒体时长探测的错误提示,补充纯URL格式要求
wangzhiyang committed -
wangzhiyang committed
-
sunqi02 committed
-
sunqi02 committed
-
sunqi02 committed
-
- 新增imageio-ffmpeg依赖,支持跨平台音视频时长检测,同时兼容系统安装的ffmpeg - 更新会议Agent提示模板,严格禁止所有markdown格式输出,链接直接使用纯文本 - 移除旧的链接包装函数,调整导出接口返回纯URL而非带<link>包装的格式 - 重构音视频时长检测逻辑,更新相关文档与使用说明
wangzhiyang committed -
sunqi02 committed
-
sunqi02 committed
-
调整了企业微信客户群编排服务和同步服务中的消息处理逻辑,将原有的仅匹配text和file类型的筛选及分发触发条件,改为排除标记为other的无效消息类型,扩大系统支持的消息类型范围。
imwangxiaozhou committed -
sunqi02 committed
-
sunqi02 committed
-
sunqi02 committed
-
- MessageGate: history as native messages, intent_session persistence, incomplete writes to intent_session, branch clearing rules - ActiveSessionService: db_factory factory pattern, short sessions, intent_session cold recovery and save_to_db Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
sunqi02 committed
-
incomplete 路径是意图分类的中间状态,追问交换应追加到 intent_session (作为分类上下文),不应污染 conversation_history(真正的对话历史)。 _classify_and_rewrite 同时修复:拼入 intent_session 中非 system 消息, 写回时保留 incomplete 追问对、丢弃旧的 user_current。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
Inject SessionLocal as factory into ActiveSessionService. Short-lived sessions via with db_factory() as db: prevent Broken pipe from stale connections. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
Inject SessionLocal as factory into ActiveSessionService. Short-lived sessions via with db_factory() as db: prevent Broken pipe from stale connections. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
- _build_classify_prompt removes history param (no more text concatenation) - _build_default_classify_messages added for degradation fallback - history injected as user/assistant message pairs for native chat structure Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
DB cold recovery now parses and restores intent_session to KV. New sessions include intent_session: '' in payload for consistency. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
Also writes intent_session field to DB. The with db_factory() as db pattern ensures pool_pre_ping fires on every write, preventing stale connections. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
为该脚本补充导入os模块,并将所有会议纪要提示词里的章节标题添加全角方括号包裹,统一输出格式规范。
wangzhiyang committed -
- 调整数据库连接环境变量,从开发环境数据库切换至正式数据库 - 更新模型配置文件中的API密钥 - 为会议纪要ASR转写功能添加媒体文件校验逻辑,限制文件大小不超过2GB、时长不超过12小时,支持远程文件信息探测与ffprobe时长检测
wangzhiyang committed -
sunqi02 committed
-
sunqi02 committed
-
sunqi02 committed
-
更新已重新出现的已删除客户记录的状态与信息,避免创建重复的客户群条目,并记录对应的操作日志。
imwangxiaozhou committed -
sunqi02 committed
-
- 新增私有工具方法 _scan_pending_customer_groups,用于查询去重待处理客户群并组装标准化条目 - 将待处理客户群条目整合到主扫描流程中 - 修复客户群有效性检查逻辑,将pending状态纳入需重新处理的范围
imwangxiaozhou committed -
sunqi02 committed
-
sunqi02 committed
-
sunqi02 committed
-
Adds a new THINKING_GUIDE module-level constant in agent_hub.py and appends it to both the main (steward) and sub-agent system prompts. The guide constrains the LLM's reasoning style: ≤20 chars thinking, direct tool_call output without explanation, and detailed reasoning summarized in tool results. The main prompt still gets REVIEW_GUIDE; sub-agents do not (they are leaf executors, not coordinators). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
sunqi02 committed
-
为子 Agent 引入独立 model 实例 sub_model,temperature=0.2 以提升子 Agent 输出确定性。_call_sub_agent 改用 sub_model 而非主 model。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
将原单字段customer_contact_id的唯一约束调整为联合customer_contact_id与bot_id的约束,适配多机器人对接场景。更新查询过滤条件增加bot_id,避免跨机器人获取错误数据,同时补充新建记录时的bot_id和bot_code字段赋值
imwangxiaozhou committed -
清理企业微信同步服务与客户群编排服务中的多处无用日志,同时移除不再使用的_format_dispatch_payload辅助函数
imwangxiaozhou committed -
- 更新协议定义,新增带可选contact_type参数的list_contacts方法 - 优化HTTP客户端实现,添加contact_type参数处理逻辑 - 将业务层的list_customers调用替换为list_contacts,移除无用的起止时间参数 - 更新所有测试用例的FakeClient及mock签名以适配新接口
imwangxiaozhou committed -
sunqi02 committed
-