Updates
jarvis-ci / node (push) Failing after 2m33s

This commit is contained in:
2026-09-11 14:00:44 -04:00
parent 8f6884ac42
commit 68d7a40605
12 changed files with 204 additions and 29 deletions
+7
View File
@@ -67,6 +67,13 @@ export async function cancelQvac() {
await Agent.engine.cancel();
}
export async function cancelQvacRequest({ requestId, modelId, kind } = {}) {
if (!requestId && !modelId) throw new Error('requestId or modelId is required');
const sdk = await Agent.engine.ensureInit();
if (typeof sdk.cancel !== 'function') throw new Error('QVAC runtime does not expose cancel()');
await sdk.cancel(requestId ? { requestId } : { modelId, kind });
}
export async function suspendQvac() {
const sdk = await Agent.engine.ensureInit();
if (typeof sdk.suspend !== 'function') throw new Error('QVAC runtime does not expose suspend()');