fix(agents): forward forced message tool policy

This commit is contained in:
Ayaan Zaidi
2026-04-21 09:52:28 +05:30
parent 8d6ed34e4a
commit 657dcb416b
2 changed files with 3 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ const forwardingCase = {
bootstrapContextMode: "lightweight",
bootstrapContextRunKind: "cron",
disableMessageTool: true,
forceMessageTool: true,
requireExplicitMessageTarget: true,
internalEvents,
},
@@ -32,6 +33,7 @@ const forwardingCase = {
bootstrapContextMode: "lightweight",
bootstrapContextRunKind: "cron",
disableMessageTool: true,
forceMessageTool: true,
requireExplicitMessageTarget: true,
internalEvents,
},

View File

@@ -777,6 +777,7 @@ export async function runEmbeddedPiAgent(
bootstrapContextRunKind: params.bootstrapContextRunKind,
toolsAllow: params.toolsAllow,
disableMessageTool: params.disableMessageTool,
forceMessageTool: params.forceMessageTool,
requireExplicitMessageTarget: params.requireExplicitMessageTarget,
internalEvents: params.internalEvents,
bootstrapPromptWarningSignaturesSeen,