- 04 Jun, 2026 11 commits
-
-
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 -
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
为该脚本补充导入os模块,并将所有会议纪要提示词里的章节标题添加全角方括号包裹,统一输出格式规范。
wangzhiyang committed -
- 调整数据库连接环境变量,从开发环境数据库切换至正式数据库 - 更新模型配置文件中的API密钥 - 为会议纪要ASR转写功能添加媒体文件校验逻辑,限制文件大小不超过2GB、时长不超过12小时,支持远程文件信息探测与ffprobe时长检测
wangzhiyang committed -
sunqi02 committed
-
- 03 Jun, 2026 1 commit
-
-
sunqi02 committed
-
- 02 Jun, 2026 17 commits
-
-
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
-
新增企微同步配置项customer_contact_type和max_group_creates_per_bot_per_job,并同步到Pydantic设置模型 重构新客户扫描逻辑,新增全量对比与预览模式,废弃旧的增量扫描与checkpoint逻辑 为建群请求添加单机器人每任务建群数量限制,基于配置项控制 将硬编码的客户联系类型改为从配置读取,新增deleted群组状态到无效状态集合 支持自动清理远端已不存在的本地客户数据 调整list_new_customers接口默认开启dry_run模式,避免意外写入数据
imwangxiaozhou committed -
sunqi02 committed
-
修改企业微信同步服务与客户群编排服务的默认分页参数,从100调整为50以优化性能表现
imwangxiaozhou committed
-
- 01 Jun, 2026 11 commits
-
-
新增_record_failed_customer_group方法,将超时失败的客户群创建记录持久化到数据库,同时更新对应测试以验证该逻辑
imwangxiaozhou committed -
sunqi02 committed
-
- Remove _current_bot_id_mapping instance variable, pass bot_id_mapping as parameter instead (race condition fix) - Remove dead _process_message_async function from agent_hub.py - Remove unused SessionMemory import in _classify_and_rewrite - Update close() to cancel running tasks before clearing - Remove unused messages parameter from evaluate() - Remove dead _dispatch_to_agent_hub mock in test Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
All Tasks 1-7 verified against actual implementation. Noted 6 minor deviations (model injection param, test race fix, endpoint wiring) and 1 additional fix (room_id persistence in active_session_service). Design doc confirmed consistent with no critical deviations. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
sunqi02 committed
-
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
sunqi02 committed
-