docs(agents): update steering semantics

This commit is contained in:
Vincent Koc
2026-03-22 15:30:03 -07:00
parent 6e7855fdf5
commit b93a045a96
3 changed files with 7 additions and 5 deletions

View File

@@ -226,7 +226,8 @@ function createYieldAbortedResponse(model: { api?: string; provider?: string; id
};
}
// Queue a hidden steering message so pi-agent-core skips any remaining tool calls.
// Queue a hidden steering message so pi-agent-core injects it before the next
// LLM call once the current assistant turn finishes executing its tool calls.
function queueSessionsYieldInterruptMessage(activeSession: {
agent: { steer: (message: AgentMessage) => void };
}) {