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-02-24 13:59:13 +08:00
2026-02-09 17:47:35 +08:00
2026-03-31 10:49:42 +08:00
2026-04-02 15:00:36 +08:00
2026-03-09 16:23:05 +08:00
2026-03-31 10:49:42 +08:00
2026-03-24 17:43:52 +08:00
2026-03-31 15:15:32 +08:00
2026-03-31 10:49:42 +08:00
2026-03-27 11:09:47 +08:00
2026-02-06 16:38:54 +08:00