@athenaintel/sdk 4.3.457 → 4.3.458
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/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/threads/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/threads/client/Client.js +1 -1
- package/dist/cjs/api/types/ThreadStopResponseOut.d.ts +4 -4
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/threads/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/threads/client/Client.mjs +1 -1
- package/dist/esm/api/types/ThreadStopResponseOut.d.mts +4 -4
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@athenaintel/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "4.3.
|
|
47
|
-
"User-Agent": "@athenaintel/sdk/4.3.
|
|
46
|
+
"X-Fern-SDK-Version": "4.3.458",
|
|
47
|
+
"User-Agent": "@athenaintel/sdk/4.3.458",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -62,7 +62,7 @@ export declare class ThreadsClient {
|
|
|
62
62
|
getStatus(thread_id: string, requestOptions?: ThreadsClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.ThreadStatusResponseOut>;
|
|
63
63
|
private __getStatus;
|
|
64
64
|
/**
|
|
65
|
-
* Stop a running thread execution. This will stop the thread if it is currently running and mark it as
|
|
65
|
+
* Stop a running thread execution. This will stop the thread if it is currently running and mark it as cancelled.
|
|
66
66
|
*
|
|
67
67
|
* @param {string} thread_id - The unique thread ID to stop
|
|
68
68
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -296,7 +296,7 @@ class ThreadsClient {
|
|
|
296
296
|
});
|
|
297
297
|
}
|
|
298
298
|
/**
|
|
299
|
-
* Stop a running thread execution. This will stop the thread if it is currently running and mark it as
|
|
299
|
+
* Stop a running thread execution. This will stop the thread if it is currently running and mark it as cancelled.
|
|
300
300
|
*
|
|
301
301
|
* @param {string} thread_id - The unique thread ID to stop
|
|
302
302
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
* Response model for thread stop.
|
|
3
3
|
*/
|
|
4
4
|
export interface ThreadStopResponseOut {
|
|
5
|
-
/** Status message about the
|
|
5
|
+
/** Status message about the cancellation */
|
|
6
6
|
message: string;
|
|
7
|
-
/** New status of the thread (always '
|
|
7
|
+
/** New status of the thread (always 'cancelled') */
|
|
8
8
|
status: string;
|
|
9
|
-
/** ISO timestamp when thread was
|
|
9
|
+
/** ISO timestamp when thread was cancelled */
|
|
10
10
|
stopped_at: string;
|
|
11
|
-
/** The thread ID that was
|
|
11
|
+
/** The thread ID that was cancelled */
|
|
12
12
|
thread_id: string;
|
|
13
13
|
}
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "4.3.
|
|
1
|
+
export declare const SDK_VERSION = "4.3.458";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@athenaintel/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "4.3.
|
|
10
|
-
"User-Agent": "@athenaintel/sdk/4.3.
|
|
9
|
+
"X-Fern-SDK-Version": "4.3.458",
|
|
10
|
+
"User-Agent": "@athenaintel/sdk/4.3.458",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -62,7 +62,7 @@ export declare class ThreadsClient {
|
|
|
62
62
|
getStatus(thread_id: string, requestOptions?: ThreadsClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.ThreadStatusResponseOut>;
|
|
63
63
|
private __getStatus;
|
|
64
64
|
/**
|
|
65
|
-
* Stop a running thread execution. This will stop the thread if it is currently running and mark it as
|
|
65
|
+
* Stop a running thread execution. This will stop the thread if it is currently running and mark it as cancelled.
|
|
66
66
|
*
|
|
67
67
|
* @param {string} thread_id - The unique thread ID to stop
|
|
68
68
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -260,7 +260,7 @@ export class ThreadsClient {
|
|
|
260
260
|
});
|
|
261
261
|
}
|
|
262
262
|
/**
|
|
263
|
-
* Stop a running thread execution. This will stop the thread if it is currently running and mark it as
|
|
263
|
+
* Stop a running thread execution. This will stop the thread if it is currently running and mark it as cancelled.
|
|
264
264
|
*
|
|
265
265
|
* @param {string} thread_id - The unique thread ID to stop
|
|
266
266
|
* @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
* Response model for thread stop.
|
|
3
3
|
*/
|
|
4
4
|
export interface ThreadStopResponseOut {
|
|
5
|
-
/** Status message about the
|
|
5
|
+
/** Status message about the cancellation */
|
|
6
6
|
message: string;
|
|
7
|
-
/** New status of the thread (always '
|
|
7
|
+
/** New status of the thread (always 'cancelled') */
|
|
8
8
|
status: string;
|
|
9
|
-
/** ISO timestamp when thread was
|
|
9
|
+
/** ISO timestamp when thread was cancelled */
|
|
10
10
|
stopped_at: string;
|
|
11
|
-
/** The thread ID that was
|
|
11
|
+
/** The thread ID that was cancelled */
|
|
12
12
|
thread_id: string;
|
|
13
13
|
}
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "4.3.
|
|
1
|
+
export declare const SDK_VERSION = "4.3.458";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.3.
|
|
1
|
+
export const SDK_VERSION = "4.3.458";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -1420,7 +1420,7 @@ await client.threads.getStatus("thread_id");
|
|
|
1420
1420
|
<dl>
|
|
1421
1421
|
<dd>
|
|
1422
1422
|
|
|
1423
|
-
Stop a running thread execution. This will stop the thread if it is currently running and mark it as
|
|
1423
|
+
Stop a running thread execution. This will stop the thread if it is currently running and mark it as cancelled.
|
|
1424
1424
|
</dd>
|
|
1425
1425
|
</dl>
|
|
1426
1426
|
</dd>
|