Autumn-27
a6bd18050c
feat(agent): 诊断 run 取消/终止原因,取代笼统的中断提示
- 新增 AbortCause(cancelcause.go):各取消点用 WithCancelCause/WithTimeoutCause
附上原因(暂停/删除/kill_work/目标达成/drain 兜底/聊天停止/进程关闭/硬超时…),
captureRun 用 context.Cause 还原出到底是谁、为何取消。
- 新增 terminalreason.go:把终端状态转成可读的一行摘要 + 多行详情(取消原因、
终止 reason、轮数、卡住的工具),替换原来固定那句猜测式提示。
- engine/worker/planner/capture 及 conversations/orchestration/server 接入;
cmd/artex/main.go、前端 llm/main-content 相应调整。
- 配套测试 terminalreason_test.go / engine_cancelcause_test.go。
2026-08-19 09:20:10 -04:00
..
2026-07-26 04:27:45 -04:00
2026-07-26 04:27:45 -04:00
2026-08-19 09:17:13 -04:00
2026-08-11 10:56:39 -04:00
2026-07-26 04:27:45 -04:00
2026-08-18 09:01:56 -04:00
2026-08-10 11:10:58 +08:00
2026-08-19 09:20:10 -04:00
2026-08-11 10:56:39 -04:00
2026-07-26 04:27:45 -04:00
2026-07-26 04:27:45 -04:00
2026-08-18 11:52:34 -04:00
2026-08-19 09:20:10 -04:00
2026-08-19 09:20:10 -04:00
2026-08-19 09:20:10 -04:00
2026-08-17 09:56:59 -04:00
2026-07-26 04:27:45 -04:00
2026-07-26 04:27:45 -04:00
2026-08-17 09:12:25 -04:00
2026-07-26 04:27:45 -04:00
2026-08-11 10:56:39 -04:00
2026-08-19 09:20:10 -04:00
2026-07-26 04:27:45 -04:00
2026-08-09 04:49:57 -04:00
2026-08-19 09:17:04 -04:00
2026-08-19 09:20:10 -04:00
2026-08-19 09:20:10 -04:00
2026-07-26 04:27:45 -04:00
2026-07-26 04:27:45 -04:00
2026-07-26 04:27:45 -04:00
2026-08-09 02:19:29 -04:00
2026-07-26 04:27:45 -04:00
2026-07-26 04:27:45 -04:00
2026-08-09 01:01:19 -04:00