From af0b58ef11605dfd062ba2645eb0d21940daea9d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 23 Aug 2024 14:50:54 +0200 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.378.0 (#26) Co-authored-by: speakeasybot --- .speakeasy/workflow.lock | 2 +- packages/mistralai-gcp/.speakeasy/gen.lock | 10 +++++----- packages/mistralai-gcp/.speakeasy/gen.yaml | 2 +- packages/mistralai-gcp/FUNCTIONS.md | 6 +++--- packages/mistralai-gcp/RELEASES.md | 12 +++++++++++- packages/mistralai-gcp/jsr.json | 2 +- packages/mistralai-gcp/package-lock.json | 4 ++-- packages/mistralai-gcp/package.json | 2 +- packages/mistralai-gcp/src/lib/config.ts | 6 +++--- .../src/models/components/assistantmessage.ts | 2 +- .../src/models/components/chatcompletionrequest.ts | 2 +- .../src/models/components/fimcompletionrequest.ts | 2 +- 12 files changed, 31 insertions(+), 21 deletions(-) diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index c57be3d..228f136 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,4 +1,4 @@ -speakeasyVersion: 1.376.0 +speakeasyVersion: 1.378.0 sources: mistral-azure-source: sourceNamespace: mistral-openapi-azure diff --git a/packages/mistralai-gcp/.speakeasy/gen.lock b/packages/mistralai-gcp/.speakeasy/gen.lock index 0c25a6b..3b1e61a 100644 --- a/packages/mistralai-gcp/.speakeasy/gen.lock +++ b/packages/mistralai-gcp/.speakeasy/gen.lock @@ -3,10 +3,10 @@ id: c6044247-eaf9-46da-b078-0e1334e93be2 management: docChecksum: b276b71cb6764f11b10461fe70962781 docVersion: 0.0.2 - speakeasyVersion: 1.376.0 - generationVersion: 2.402.5 - releaseVersion: 1.0.3 - configChecksum: 47d08e95035861366606860661d89f3c + speakeasyVersion: 1.378.0 + generationVersion: 2.404.3 + releaseVersion: 1.0.4 + configChecksum: 57e31cfc71fbade2eaad7f942bdff119 repoURL: https://github.com/mistralai/client-ts.git repoSubDirectory: packages/mistralai-gcp installationURL: https://gitpkg.now.sh/mistralai/client-ts/packages/mistralai-gcp @@ -14,7 +14,7 @@ management: features: typescript: additionalDependencies: 0.1.0 - constsAndDefaults: 0.1.10 + constsAndDefaults: 0.1.11 core: 3.14.1 defaultEnabledRetries: 0.1.0 envVarSecurityUsage: 0.1.1 diff --git a/packages/mistralai-gcp/.speakeasy/gen.yaml b/packages/mistralai-gcp/.speakeasy/gen.yaml index a76358c..253cf0a 100644 --- a/packages/mistralai-gcp/.speakeasy/gen.yaml +++ b/packages/mistralai-gcp/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: true typescript: - version: 1.0.3 + version: 1.0.4 additionalDependencies: dependencies: google-auth-library: ^9.11.0 diff --git a/packages/mistralai-gcp/FUNCTIONS.md b/packages/mistralai-gcp/FUNCTIONS.md index f0a3b38..08bb286 100644 --- a/packages/mistralai-gcp/FUNCTIONS.md +++ b/packages/mistralai-gcp/FUNCTIONS.md @@ -33,10 +33,10 @@ async function run() { const res = await chatComplete(mistralGoogleCloud, { model: "mistral-small-latest", messages: [ - { + { content: "Who is the best French painter? Answer in one short sentence.", - role: "user", - }, + role: "user", + }, ], }); diff --git a/packages/mistralai-gcp/RELEASES.md b/packages/mistralai-gcp/RELEASES.md index 2c9d170..187d3fd 100644 --- a/packages/mistralai-gcp/RELEASES.md +++ b/packages/mistralai-gcp/RELEASES.md @@ -28,4 +28,14 @@ Based on: ### Generated - [typescript v1.0.3] packages/mistralai-gcp ### Releases -- [NPM v1.0.3] https://www.npmjs.com/package/@mistralai/mistralai-gcp/v/1.0.3 - packages/mistralai-gcp \ No newline at end of file +- [NPM v1.0.3] https://www.npmjs.com/package/@mistralai/mistralai-gcp/v/1.0.3 - packages/mistralai-gcp + +## 2024-08-23 12:00:12 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.378.0 (2.404.3) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v1.0.4] packages/mistralai-gcp +### Releases +- [NPM v1.0.4] https://www.npmjs.com/package/@mistralai/mistralai-gcp/v/1.0.4 - packages/mistralai-gcp \ No newline at end of file diff --git a/packages/mistralai-gcp/jsr.json b/packages/mistralai-gcp/jsr.json index a398bf4..e0275bb 100644 --- a/packages/mistralai-gcp/jsr.json +++ b/packages/mistralai-gcp/jsr.json @@ -2,7 +2,7 @@ { "name": "@mistralai/mistralai-gcp", - "version": "1.0.3", + "version": "1.0.4", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/packages/mistralai-gcp/package-lock.json b/packages/mistralai-gcp/package-lock.json index 92b44d2..c39d84f 100644 --- a/packages/mistralai-gcp/package-lock.json +++ b/packages/mistralai-gcp/package-lock.json @@ -1,12 +1,12 @@ { "name": "@mistralai/mistralai-gcp", - "version": "1.0.3", + "version": "1.0.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@mistralai/mistralai-gcp", - "version": "1.0.3", + "version": "1.0.4", "dependencies": { "google-auth-library": "^9.11.0" }, diff --git a/packages/mistralai-gcp/package.json b/packages/mistralai-gcp/package.json index a7b6b4c..a317c4c 100644 --- a/packages/mistralai-gcp/package.json +++ b/packages/mistralai-gcp/package.json @@ -1,6 +1,6 @@ { "name": "@mistralai/mistralai-gcp", - "version": "1.0.3", + "version": "1.0.4", "author": "Speakeasy", "main": "./index.js", "sideEffects": false, diff --git a/packages/mistralai-gcp/src/lib/config.ts b/packages/mistralai-gcp/src/lib/config.ts index 3986d1c..fb8b069 100644 --- a/packages/mistralai-gcp/src/lib/config.ts +++ b/packages/mistralai-gcp/src/lib/config.ts @@ -55,7 +55,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "0.0.2", - sdkVersion: "1.0.3", - genVersion: "2.402.5", - userAgent: "speakeasy-sdk/typescript 1.0.3 2.402.5 0.0.2 @mistralai/mistralai-gcp", + sdkVersion: "1.0.4", + genVersion: "2.404.3", + userAgent: "speakeasy-sdk/typescript 1.0.4 2.404.3 0.0.2 @mistralai/mistralai-gcp", } as const; diff --git a/packages/mistralai-gcp/src/models/components/assistantmessage.ts b/packages/mistralai-gcp/src/models/components/assistantmessage.ts index c03cadd..f3329c5 100644 --- a/packages/mistralai-gcp/src/models/components/assistantmessage.ts +++ b/packages/mistralai-gcp/src/models/components/assistantmessage.ts @@ -51,7 +51,7 @@ export const AssistantMessage$inboundSchema: z.ZodType { diff --git a/packages/mistralai-gcp/src/models/components/chatcompletionrequest.ts b/packages/mistralai-gcp/src/models/components/chatcompletionrequest.ts index cd1d77d..8fdfea1 100644 --- a/packages/mistralai-gcp/src/models/components/chatcompletionrequest.ts +++ b/packages/mistralai-gcp/src/models/components/chatcompletionrequest.ts @@ -225,7 +225,7 @@ export const ChatCompletionRequest$inboundSchema: z.ZodType< top_p: z.number().default(1), max_tokens: z.nullable(z.number().int()).optional(), min_tokens: z.nullable(z.number().int()).optional(), - stream: z.boolean(), + stream: z.boolean().default(false), stop: z.union([z.string(), z.array(z.string())]).optional(), random_seed: z.nullable(z.number().int()).optional(), messages: z.array( diff --git a/packages/mistralai-gcp/src/models/components/fimcompletionrequest.ts b/packages/mistralai-gcp/src/models/components/fimcompletionrequest.ts index ab34645..d9ec6b4 100644 --- a/packages/mistralai-gcp/src/models/components/fimcompletionrequest.ts +++ b/packages/mistralai-gcp/src/models/components/fimcompletionrequest.ts @@ -99,7 +99,7 @@ export const FIMCompletionRequest$inboundSchema: z.ZodType< top_p: z.number().default(1), max_tokens: z.nullable(z.number().int()).optional(), min_tokens: z.nullable(z.number().int()).optional(), - stream: z.boolean(), + stream: z.boolean().default(false), stop: z.union([z.string(), z.array(z.string())]).optional(), random_seed: z.nullable(z.number().int()).optional(), prompt: z.string(),