Core: update shared gateway models

This commit is contained in:
Mariano Belinky
2026-02-02 12:58:16 +00:00
parent ff6114599e
commit 37eaca719a
6 changed files with 31 additions and 14 deletions

View File

@@ -454,7 +454,7 @@ export function createNodesTool(options?: {
invokeParams = JSON.parse(invokeParamsJson);
} catch (err) {
const message = err instanceof Error ? err.message : String(err);
throw new Error(`invokeParamsJson must be valid JSON: ${message}`);
throw new Error(`invokeParamsJson must be valid JSON: ${message}`, { cause: err });
}
}
const invokeTimeoutMs = parseTimeoutMs(params.invokeTimeoutMs);