- 06 Jul, 2026 40 commits
-
-
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 -
新增_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 -
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
-
删除项目中不再使用的各模块OpenSpec变更配置、设计提案文档,以及已废弃的数据库迁移脚本,清理冗余项目文件。
imwangxiaozhou committed -
- 更新会议纪要技能的SKILL.md文档,移除冗余的输出要求条目,仅保留docx链接的格式规范 - 修改会议代理的提示模板:将{company}占位符替换为硬编码的广联数科,简化格式规则以匹配更新后的输出要求wangzhiyang committed -
完善_wrap_link函数的链接处理逻辑,移除链接内容前后的反引号后再生成链接标签
wangzhiyang committed -
- agents.json: update keys from main/meeting to agent_xxx format - test_request.json: update agent_id and messages - Add implementation plan for DB-driven agent config
sunqi02 committed -
- send_test.sh: no-arg mode sends test_request.json, with-arg mode sends single text message - main.py: replace diagnostic prints with structured logger.info - Fix agent_id 14 → 17 (meeting agent) in send_test.sh
sunqi02 committed -
- test_main.py: use preloaded_agents, new AgentConfig structure - test_agent_hub.py: replace all 'main'/'meeting' with STEWARD_KEY/MEETING_KEY - test_read_file_tool.py: use mock config_loader, add preloaded_agents - PostReplyHook tests: remove account_mapping, add bot_id_mapping to context - Routing tests: assert response_agent_code == STEWARD_KEY - Collaboration tests: use dynamic agent keys
sunqi02 committed -
- main.py lifespan: replace load_agents() with load_agents_from_db(db) - Fix remaining "meeting" in call_sub_agent docstring
sunqi02 committed -
- Add _find_steward_agent()/_find_steward_key() for dynamic steward lookup - Replace all hardcoded 'main' with is_steward-based checks - Simplify prompt building (no more .format() placeholder substitution) - Remove account_mapping from hooks, bot_id from request only - Delete self.agent_to_account / self.account_to_agent - Add REVIEW_GUIDE module constant - API endpoint uses is_steward instead of 'main' check Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
- New load_agents_from_db() reads ai_agents + ai_agent_skills tables - Delete load_agents(), load_account_mappings() - Dict key = ai_agents.code, AgentConfig.code = str(ai_agents.id) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
- Delete AGENT_CODE_SYNC_MAP (no longer needed) - Remove 'role' field from AgentConfig - Rename prompt_template → prompt - Add is_steward field - Remove sync_agent_codes_from_db from loader and main Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
修正shebang为更通用的格式,移除DOS换行处理代码,更新使用说明,新增反引号使用提示,移除无用的变量替换逻辑,优化代码缩进与注释
wangzhiyang committed -
补全 agents.json 中会议纪要 Agent 的截断提示词模板,新增详细格式规则 为 send_test1.sh 添加 CRLF 换行符处理以适配 Unix 系统 移除用户查询中的反引号避免 shell 解析错误 修复脚本末尾缺失的换行符
wangzhiyang committed -
- 优化导出脚本,添加微软雅黑字体支持,修正链接格式并包裹<link>标签 - 更新prompt模板,新增docx链接格式规则 - 调整测试请求配置,新增send_test1.sh测试脚本 - 完善技能文档,修正链接输出相关说明
wangzhiyang committed -
fix(test_request): 更新消息内容中的音频文件链接
sunqi02 committed -
sunqi02 committed
-
sunqi02 committed
-
新增忽略workspace/agent-admin/backend下的logs、openspec、migrations目录,避免本地开发产生的文件提交至代码仓库
imwangxiaozhou committed -
sunqi02 committed
-
- 新增 `app/infrastructure/time.py` 封装中国时区当前时间工具函数,替换全项目手动处理UTC时区的代码 - 新增数据库迁移脚本将 `official_site_agent_display` 表的 `display_status` 默认值设为 `disable` - 更新对应模型、Schema、业务服务的默认展示状态配置 - 调整第三方库日志级别至WARNING,减少apscheduler、httpx等库的冗余日志输出 - 优化企业微信同步模块的日志格式和消息过滤逻辑,统一时区处理
imwangxiaozhou committed -
sunqi02 committed
-
孙奇 committed
-