refactor(agent): Pi 会话运行时 - 接入原生 Agent 与 Skills 工具链
This commit is contained in:
1 parent
f9b8c5a43e
commit
387d3562ad
69 files changed
+11460
-207
No files matched your search
@@ -26,6 +26,9 @@ func TestCloudAgentContinuesAfterContractChange(t *testing.T) {
|
||||
Updates(map[string]any{"status": model.TaskStatusFailed, "error": "mock failure"}).Error; err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if err := db.Model(&model.CloudAgentExecution{}).Where("id = ?", root.ID).Update("status", "failed").Error; err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
// 在该轮快照里制造一次「合同变更」:把能力集哈希改掉。
|
||||
execution, err := s.repo.CloudAgent("user", root.ID)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user