chore: Fix TypeScript errors 2/n.

This commit is contained in:
cpojer
2026-01-31 16:42:40 +09:00
parent e5eb9610dc
commit 952b0f8c48
8 changed files with 21 additions and 19 deletions

View File

@@ -33,7 +33,7 @@ export async function runSessionsSendA2AFlow(params: {
let latestReply = params.roundOneReply;
if (!primaryReply && params.waitRunId) {
const waitMs = Math.min(params.announceTimeoutMs, 60_000);
const wait = await callGateway({
const wait = await callGateway<{ status: string }>({
method: "agent.wait",
params: {
runId: params.waitRunId,