Files
opsxshell/docs/01-AI-Agent步数预算与incomplete.md
Logan.Li 96497092a8 feat(ai): 步数触顶改为 incomplete 可续跑
MAX_AGENT_STEPS 触顶保留已完成 steps,支持追问续跑;
补充 docs 与 zh/en 文案 maxStepsIncomplete。
2026-09-19 00:06:53 +08:00

30 lines
1.4 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 01 - AI Agent 步数预算与 incomplete(opsxshell)
> // Logan.Li
> Shell/GUI 侧 Agent 循环边界。统一语义见 aiops/opsxcli 的 **13-运行结果状态与可续跑契约**。
## 现状
| 项 | 值 / 行为 |
| ----------------------------------- | --------------------------------------------------------------------- |
| `AiTerminalPanel` `MAX_AGENT_STEPS` | **12** |
| 触顶 | 抛错(用户感知为「没跑完就挂」) |
| 执行绑定 | 当前 SSH **`connectionId`**(与三产品边界一致,不得漂移到未选中连接) |
## 目标
| 项 | 目标行为 |
| ---- | ----------------------------------------------------------------- |
| 触顶 | `incomplete` + `max_steps`,展示已用步数/预算 |
| 续跑 | 在**同一 connectionId** 下注入 prior/轨迹后继续;或提示用户加预算 |
| 边界 | **不**引入跨入口通用远程执行器 |
## 链接
- 契约:aiops `docs/ai-agent/13-运行结果状态与可续跑契约.md`(与 opsxcli 同步)
- 三产品边界:aiops `docs/ai-agent/09-三产品定位与执行边界.md`
---
_新建: 2026-09-18 CST_