feat: unify provider history context

This commit is contained in:
Peter Steinberger
2026-01-10 18:53:33 +01:00
parent 8c1d39064d
commit d41372b9d9
19 changed files with 718 additions and 80 deletions

View File

@@ -900,7 +900,7 @@ export async function handleCommands(params: {
await waitForEmbeddedPiRunEnd(sessionId, 15_000);
}
const customInstructions = extractCompactInstructions({
rawBody: ctx.Body,
rawBody: ctx.CommandBody ?? ctx.RawBody ?? ctx.Body,
ctx,
cfg,
agentId: params.agentId,