@axiom-lattice/client-sdk 2.1.21 → 2.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abstract-client.d.ts.map +1 -1
- package/dist/abstract-client.js +4 -2
- package/dist/abstract-client.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.ts +4 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2379,7 +2379,7 @@ var AbstractClient = class {
|
|
|
2379
2379
|
* @returns The formatted request parameters
|
|
2380
2380
|
*/
|
|
2381
2381
|
buildStreamRequestParams(options) {
|
|
2382
|
-
const { command, threadId, message, files, background, ...rest } = options;
|
|
2382
|
+
const { command, threadId, message, files, background, custom_run_config, ...rest } = options;
|
|
2383
2383
|
return {
|
|
2384
2384
|
url: "/api/runs",
|
|
2385
2385
|
method: "POST",
|
|
@@ -2391,6 +2391,7 @@ var AbstractClient = class {
|
|
|
2391
2391
|
command,
|
|
2392
2392
|
streaming: true,
|
|
2393
2393
|
background: background || false,
|
|
2394
|
+
custom_run_config,
|
|
2394
2395
|
...rest
|
|
2395
2396
|
}
|
|
2396
2397
|
};
|
|
@@ -2534,6 +2535,7 @@ var AbstractClient = class {
|
|
|
2534
2535
|
message,
|
|
2535
2536
|
files,
|
|
2536
2537
|
background,
|
|
2538
|
+
custom_run_config,
|
|
2537
2539
|
...rest
|
|
2538
2540
|
} = options;
|
|
2539
2541
|
if (options.streaming) {
|
|
@@ -2551,6 +2553,7 @@ var AbstractClient = class {
|
|
|
2551
2553
|
command,
|
|
2552
2554
|
streaming: false,
|
|
2553
2555
|
background: background || false,
|
|
2556
|
+
custom_run_config,
|
|
2554
2557
|
...rest
|
|
2555
2558
|
}
|
|
2556
2559
|
});
|