feat(agent): 云端 Agent - 增加上下文预算、任务事实与终态恢复保障

This commit is contained in:
ddCat committed 2026-09-19 20:43:20 +08:00
1 parent 3bf21d79af
commit b52bc9d5f2
61 files changed
+3512 -309

No files matched your search

@@ -130,7 +130,7 @@ func TestFailCloudAgentPersistsFailureMessage(t *testing.T) {
if err != nil {
t.Fatal(err)
}
const reason = "模型上下文超过 192KB 上限"
const reason = "模型输入超过当前能力预算"
if err := s.failCloudAgent(run, &state, reason); err != nil {
t.Fatal(err)
}