@athenaintel/sdk 4.3.2168 → 4.3.2169
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/types/GeneralAgentConfig.d.ts +2 -0
- package/dist/cjs/api/types/GeneralAgentResponse.d.ts +2 -0
- 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/types/GeneralAgentConfig.d.mts +2 -0
- package/dist/esm/api/types/GeneralAgentResponse.d.mts +2 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +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.2169",
|
|
47
|
+
"User-Agent": "@athenaintel/sdk/4.3.2169",
|
|
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);
|
|
@@ -5,6 +5,8 @@ export interface GeneralAgentConfig {
|
|
|
5
5
|
enabled_tools?: GeneralAgentConfig.EnabledTools.Item[];
|
|
6
6
|
knowledge_base_asset_ids?: string[];
|
|
7
7
|
model?: string | null;
|
|
8
|
+
/** A JSON Schema (type: object) the agent's final answer must conform to. When set, the response carries the validated payload in `structured_output` and the request fails with a 500 rather than returning prose that does not match the schema. */
|
|
9
|
+
structured_output?: Record<string, unknown> | null;
|
|
8
10
|
system_prompt?: string;
|
|
9
11
|
}
|
|
10
12
|
export declare namespace GeneralAgentConfig {
|
|
@@ -4,4 +4,6 @@ import type * as AthenaIntelligence from "../index.js";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface GeneralAgentResponse {
|
|
6
6
|
messages: AthenaIntelligence.GeneralAgentResponseMessage[];
|
|
7
|
+
/** The agent's final answer as an object matching `config.structured_output`. Null when no schema was requested. */
|
|
8
|
+
structured_output?: Record<string, unknown> | null;
|
|
7
9
|
}
|
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.2169";
|
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.2169",
|
|
10
|
+
"User-Agent": "@athenaintel/sdk/4.3.2169",
|
|
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);
|
|
@@ -5,6 +5,8 @@ export interface GeneralAgentConfig {
|
|
|
5
5
|
enabled_tools?: GeneralAgentConfig.EnabledTools.Item[];
|
|
6
6
|
knowledge_base_asset_ids?: string[];
|
|
7
7
|
model?: string | null;
|
|
8
|
+
/** A JSON Schema (type: object) the agent's final answer must conform to. When set, the response carries the validated payload in `structured_output` and the request fails with a 500 rather than returning prose that does not match the schema. */
|
|
9
|
+
structured_output?: Record<string, unknown> | null;
|
|
8
10
|
system_prompt?: string;
|
|
9
11
|
}
|
|
10
12
|
export declare namespace GeneralAgentConfig {
|
|
@@ -4,4 +4,6 @@ import type * as AthenaIntelligence from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface GeneralAgentResponse {
|
|
6
6
|
messages: AthenaIntelligence.GeneralAgentResponseMessage[];
|
|
7
|
+
/** The agent's final answer as an object matching `config.structured_output`. Null when no schema was requested. */
|
|
8
|
+
structured_output?: Record<string, unknown> | null;
|
|
7
9
|
}
|
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.2169";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.3.
|
|
1
|
+
export const SDK_VERSION = "4.3.2169";
|