16337
533fe263e6
修复:Agent查询待处理工单始终为空
根因:list_orders 和 query_order_stats 默认按 create_time 过滤
今日范围,但待处理工单可能是昨天或更早创建的,导致全部漏掉。
修复内容:
1. 查询待处理状态工单时跳过时间范围过滤(skip_time_filter)
2. query_order_stats 额外返回 current_pending/current_assigned
表示当前所有未完成工单数(不限时间)
3. _query_orders 新增 tenant_id 过滤(从配置读取)
4. 系统提示词增加查询技巧引导 Agent 正确使用 status 参数
2026-04-02 15:00:36 +08:00
..
2026-04-02 15:00:36 +08:00
2026-04-01 09:09:30 +08:00
2026-02-02 09:40:02 +08:00
2026-03-27 15:20:01 +08:00
2026-03-09 16:29:28 +08:00
2026-03-24 13:38:45 +08:00
2026-04-02 09:34:50 +08:00
2026-03-09 16:27:30 +08:00
2026-03-09 16:27:30 +08:00
2026-03-31 10:49:42 +08:00
2026-03-18 16:05:05 +08:00
2026-03-18 16:39:16 +08:00
2026-03-31 18:22:27 +08:00
2026-03-25 14:20:19 +08:00
2026-03-09 10:42:32 +08:00
2026-03-31 10:49:42 +08:00
2026-03-31 09:37:33 +08:00
2026-03-31 18:07:41 +08:00