* 归档 Agent * @param agentId Agent ID * @returns 更新后的 Agent
(agentId: string)
| 101 | * @returns 更新后的 Agent |
| 102 | */ |
| 103 | async archive(agentId: string): Promise<AgentInfo> { |
| 104 | return this.updateStatus(agentId, "archived"); |
| 105 | } |
| 106 | |
| 107 | /** |
| 108 | * 更新 Agent 状态 |