fix: avoid sessions_send timeouts

This commit is contained in:
Peter Steinberger
2026-01-04 01:52:01 +01:00
parent cbf41859aa
commit fe67073b74
6 changed files with 10 additions and 0 deletions

View File

@@ -60,6 +60,7 @@ type AgentCommandOpts = {
provider?: string; // delivery provider (whatsapp|telegram|...)
bestEffortDeliver?: boolean;
abortSignal?: AbortSignal;
lane?: string;
};
type SessionResolution = {
@@ -383,6 +384,7 @@ export async function agentCommand(
verboseLevel: resolvedVerboseLevel,
timeoutMs,
runId: sessionId,
lane: opts.lane,
abortSignal: opts.abortSignal,
onAgentEvent: (evt) => {
emitAgentEvent({