From f70df3d8fb270a411fd556cf5895b73bb22c14d6 Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Fri, 3 May 2024 06:59:02 +0000 Subject: [PATCH] Release v0.2.36 --- package.json | 2 +- src/api/resources/agent/client/Client.ts | 28 +++++++++---------- src/api/resources/apiKey/client/Client.ts | 8 +++--- src/api/resources/apiUser/client/Client.ts | 8 +++--- src/api/resources/datasource/client/Client.ts | 10 +++---- src/api/resources/llm/client/Client.ts | 8 +++--- src/api/resources/tool/client/Client.ts | 10 +++---- .../resources/vectorDatabase/client/Client.ts | 10 +++---- src/api/resources/workflow/client/Client.ts | 18 ++++++------ .../resources/workflowConfig/client/Client.ts | 4 +-- src/api/types/LlmModel.ts | 12 ++++++++ src/serialization/types/LlmModel.ts | 12 ++++++++ yarn.lock | 18 ++++++------ 13 files changed, 86 insertions(+), 62 deletions(-) diff --git a/package.json b/package.json index be9e8f9..e567122 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "superagentai-js", - "version": "v0.2.35", + "version": "v0.2.36", "private": false, "repository": "https://github.com/homanp/superagent-js", "main": "./index.js", diff --git a/src/api/resources/agent/client/Client.ts b/src/api/resources/agent/client/Client.ts index 88f5da4..b9728b6 100644 --- a/src/api/resources/agent/client/Client.ts +++ b/src/api/resources/agent/client/Client.ts @@ -55,7 +55,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -133,7 +133,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -206,7 +206,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -275,7 +275,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -343,7 +343,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -421,7 +421,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -499,7 +499,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -569,7 +569,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -633,7 +633,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -708,7 +708,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -778,7 +778,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -845,7 +845,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -920,7 +920,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -996,7 +996,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/apiKey/client/Client.ts b/src/api/resources/apiKey/client/Client.ts index 1eb8844..0c8a293 100644 --- a/src/api/resources/apiKey/client/Client.ts +++ b/src/api/resources/apiKey/client/Client.ts @@ -41,7 +41,7 @@ export class ApiKey { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -103,7 +103,7 @@ export class ApiKey { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -176,7 +176,7 @@ export class ApiKey { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -251,7 +251,7 @@ export class ApiKey { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/apiUser/client/Client.ts b/src/api/resources/apiUser/client/Client.ts index e315241..21abc75 100644 --- a/src/api/resources/apiUser/client/Client.ts +++ b/src/api/resources/apiUser/client/Client.ts @@ -47,7 +47,7 @@ export class ApiUser { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -116,7 +116,7 @@ export class ApiUser { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -172,7 +172,7 @@ export class ApiUser { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -229,7 +229,7 @@ export class ApiUser { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/datasource/client/Client.ts b/src/api/resources/datasource/client/Client.ts index 5010e57..c6b50ef 100644 --- a/src/api/resources/datasource/client/Client.ts +++ b/src/api/resources/datasource/client/Client.ts @@ -55,7 +55,7 @@ export class Datasource { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -132,7 +132,7 @@ export class Datasource { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -207,7 +207,7 @@ export class Datasource { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -276,7 +276,7 @@ export class Datasource { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -348,7 +348,7 @@ export class Datasource { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/llm/client/Client.ts b/src/api/resources/llm/client/Client.ts index 23a7fa4..50287c5 100644 --- a/src/api/resources/llm/client/Client.ts +++ b/src/api/resources/llm/client/Client.ts @@ -41,7 +41,7 @@ export class Llm { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -104,7 +104,7 @@ export class Llm { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -174,7 +174,7 @@ export class Llm { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -250,7 +250,7 @@ export class Llm { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/tool/client/Client.ts b/src/api/resources/tool/client/Client.ts index 7b94378..4931a32 100644 --- a/src/api/resources/tool/client/Client.ts +++ b/src/api/resources/tool/client/Client.ts @@ -55,7 +55,7 @@ export class Tool { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -131,7 +131,7 @@ export class Tool { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -201,7 +201,7 @@ export class Tool { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -270,7 +270,7 @@ export class Tool { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -338,7 +338,7 @@ export class Tool { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/vectorDatabase/client/Client.ts b/src/api/resources/vectorDatabase/client/Client.ts index b4b422f..28b3dc2 100644 --- a/src/api/resources/vectorDatabase/client/Client.ts +++ b/src/api/resources/vectorDatabase/client/Client.ts @@ -50,7 +50,7 @@ export class VectorDatabase { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -119,7 +119,7 @@ export class VectorDatabase { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -179,7 +179,7 @@ export class VectorDatabase { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -248,7 +248,7 @@ export class VectorDatabase { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -321,7 +321,7 @@ export class VectorDatabase { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/workflow/client/Client.ts b/src/api/resources/workflow/client/Client.ts index 9adacbf..059615c 100644 --- a/src/api/resources/workflow/client/Client.ts +++ b/src/api/resources/workflow/client/Client.ts @@ -55,7 +55,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -131,7 +131,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -204,7 +204,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -273,7 +273,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -345,7 +345,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -424,7 +424,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -492,7 +492,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -568,7 +568,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -644,7 +644,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/workflowConfig/client/Client.ts b/src/api/resources/workflowConfig/client/Client.ts index 8996cd9..65baa19 100644 --- a/src/api/resources/workflowConfig/client/Client.ts +++ b/src/api/resources/workflowConfig/client/Client.ts @@ -35,7 +35,7 @@ export class WorkflowConfig { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -86,7 +86,7 @@ export class WorkflowConfig { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.2.35", + "X-Fern-SDK-Version": "v0.2.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/types/LlmModel.ts b/src/api/types/LlmModel.ts index aa96744..03c1b1d 100644 --- a/src/api/types/LlmModel.ts +++ b/src/api/types/LlmModel.ts @@ -6,26 +6,38 @@ * An enumeration. */ export type LlmModel = + | "GPT_3_5_TURBO" | "GPT_3_5_TURBO_16K_0613" | "GPT_3_5_TURBO_0613" | "GPT_3_5_TURBO_1106" | "GPT_3_5_TURBO_0125" + | "GPT_4" | "GPT_4_0613" + | "GPT_4_32K" | "GPT_4_32K_0613" | "GPT_4_1106_PREVIEW" + | "GPT_4_0125_PREVIEW" + | "GPT_4_TURBO" | "GPT_4_TURBO_PREVIEW" + | "GPT_4_TURBO_2024_04_09" | "MISTRAL_7B_INSTRUCT_V01" | "MIXTRAL_8X7B_INSTRUCT_V01"; export const LlmModel = { + Gpt35Turbo: "GPT_3_5_TURBO", Gpt35Turbo16K0613: "GPT_3_5_TURBO_16K_0613", Gpt35Turbo0613: "GPT_3_5_TURBO_0613", Gpt35Turbo1106: "GPT_3_5_TURBO_1106", Gpt35Turbo0125: "GPT_3_5_TURBO_0125", + Gpt4: "GPT_4", Gpt40613: "GPT_4_0613", + Gpt432K: "GPT_4_32K", Gpt432K0613: "GPT_4_32K_0613", Gpt41106Preview: "GPT_4_1106_PREVIEW", + Gpt40125Preview: "GPT_4_0125_PREVIEW", + Gpt4Turbo: "GPT_4_TURBO", Gpt4TurboPreview: "GPT_4_TURBO_PREVIEW", + Gpt4Turbo20240409: "GPT_4_TURBO_2024_04_09", Mistral7BInstructV01: "MISTRAL_7B_INSTRUCT_V01", Mixtral8X7BInstructV01: "MIXTRAL_8X7B_INSTRUCT_V01", } as const; diff --git a/src/serialization/types/LlmModel.ts b/src/serialization/types/LlmModel.ts index 5ba6cc2..d8f0487 100644 --- a/src/serialization/types/LlmModel.ts +++ b/src/serialization/types/LlmModel.ts @@ -8,28 +8,40 @@ import * as core from "../../core"; export const LlmModel: core.serialization.Schema = core.serialization.enum_([ + "GPT_3_5_TURBO", "GPT_3_5_TURBO_16K_0613", "GPT_3_5_TURBO_0613", "GPT_3_5_TURBO_1106", "GPT_3_5_TURBO_0125", + "GPT_4", "GPT_4_0613", + "GPT_4_32K", "GPT_4_32K_0613", "GPT_4_1106_PREVIEW", + "GPT_4_0125_PREVIEW", + "GPT_4_TURBO", "GPT_4_TURBO_PREVIEW", + "GPT_4_TURBO_2024_04_09", "MISTRAL_7B_INSTRUCT_V01", "MIXTRAL_8X7B_INSTRUCT_V01", ]); export declare namespace LlmModel { type Raw = + | "GPT_3_5_TURBO" | "GPT_3_5_TURBO_16K_0613" | "GPT_3_5_TURBO_0613" | "GPT_3_5_TURBO_1106" | "GPT_3_5_TURBO_0125" + | "GPT_4" | "GPT_4_0613" + | "GPT_4_32K" | "GPT_4_32K_0613" | "GPT_4_1106_PREVIEW" + | "GPT_4_0125_PREVIEW" + | "GPT_4_TURBO" | "GPT_4_TURBO_PREVIEW" + | "GPT_4_TURBO_2024_04_09" | "MISTRAL_7B_INSTRUCT_V01" | "MIXTRAL_8X7B_INSTRUCT_V01"; } diff --git a/yarn.lock b/yarn.lock index 90a6f0f..6a3acc0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -633,9 +633,9 @@ form-data "^4.0.0" "@types/node@*": - version "20.12.7" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.12.7.tgz#04080362fa3dd6c5822061aa3124f5c152cff384" - integrity sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg== + version "20.12.8" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.12.8.tgz#35897bf2bfe3469847ab04634636de09552e8256" + integrity sha512-NU0rJLJnshZWdE/097cdCBbyW1h4hEg0xpovcoAQYHl8dnEyp/NAOiE45pvc+Bd1Dt+2r94v2eGFpQJ4R7g+2w== dependencies: undici-types "~5.26.4" @@ -858,9 +858,9 @@ camelcase@^6.2.0: integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== caniuse-lite@^1.0.30001587: - version "1.0.30001614" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001614.tgz#f894b4209376a0bf923d67d9c361d96b1dfebe39" - integrity sha512-jmZQ1VpmlRwHgdP1/uiKzgiAuGOfLEJsYFP4+GBou/QQ4U6IOJCB4NP1c+1p9RGLpwObcT94jA5/uO+F1vBbog== + version "1.0.30001615" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001615.tgz#7c2c8772db681b6dee74d81d6550db68f2d28842" + integrity sha512-1IpazM5G3r38meiae0bHRnPhz+CBQ3ZLqbQMtrg+AsTPKAXgW38JNsXkyZ+v8waCsDmPq87lmfun5Q2AGysNEQ== chalk@^2.4.2: version "2.4.2" @@ -1018,9 +1018,9 @@ diff-sequences@^29.6.3: integrity sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q== electron-to-chromium@^1.4.668: - version "1.4.752" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.752.tgz#99227455547c8254488e3dab7d316c34a2c067b8" - integrity sha512-P3QJreYI/AUTcfBVrC4zy9KvnZWekViThgQMX/VpJ+IsOBbcX5JFpORM4qWapwWQ+agb2nYAOyn/4PMXOk0m2Q== + version "1.4.754" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.754.tgz#20a9f3cc80e0fb6a804b86605e55da16918a58b0" + integrity sha512-7Kr5jUdns5rL/M9wFFmMZAgFDuL2YOnanFH4OI4iFzUqyh3XOL7nAGbSlSMZdzKMIyyTpNSbqZsWG9odwLeKvA== emittery@^0.13.1: version "0.13.1"