Skip to content

armgit / pibot

Public Imported from GitHub
0

Open-source, local-first AI agent team for your desktop: multi-agent group chats, computer use, browser, MCP, routines and approvals. macOS, Windows, Linux + Android. Built on pi.

fix(groups): renaming a group no longer kills its running step

leen.zhou00f60fdc6412
diff --git a/packages/brain/src/runtime/tools/local-prepare.ts b/packages/brain/src/runtime/tools/local-prepare.ts
index c846d4f..a1da63d 100644
--- a/packages/brain/src/runtime/tools/local-prepare.ts
+++ b/packages/brain/src/runtime/tools/local-prepare.ts
@@ -1088,6 +1088,12 @@ export function groupAuthorization(local: LocalService, context: ToolRunContext)
updatedAt: undefined,
topicTitle: undefined,
memberWorkspaces: undefined,
+ // Cosmetic settings (GroupService's COSMETIC_GROUP_FIELDS) change no authority; a
+ // rename mid-step otherwise failed every later tool call and killed the running step.
+ name: undefined,
+ announcement: undefined,
+ autoRoundLimit: undefined,
+ externalAgentStepContext: undefined,
}
: null,
actual?.kind,