diff --git a/packages/mistralai-azure/.speakeasy/gen.lock b/packages/mistralai-azure/.speakeasy/gen.lock index b45c9f1..98379fe 100644 --- a/packages/mistralai-azure/.speakeasy/gen.lock +++ b/packages/mistralai-azure/.speakeasy/gen.lock @@ -3,10 +3,10 @@ id: 01e8a40b-3df3-4d9a-9501-2eb9e0d26c05 management: docChecksum: 9128fabc3ae45ecc9ed7fae8991b3d3e docVersion: 0.0.2 - speakeasyVersion: 1.376.0 - generationVersion: 2.402.5 - releaseVersion: 1.0.3 - configChecksum: 72a41446245fe7d583177bc15f02efe9 + speakeasyVersion: 1.378.0 + generationVersion: 2.404.3 + releaseVersion: 1.0.4 + configChecksum: 1bf151a94ed63e8a355876d008b39575 repoURL: https://github.com/mistralai/client-ts.git repoSubDirectory: packages/mistralai-azure installationURL: https://gitpkg.now.sh/mistralai/client-ts/packages/mistralai-azure @@ -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-azure/.speakeasy/gen.yaml b/packages/mistralai-azure/.speakeasy/gen.yaml index 3df8961..f2e5569 100644 --- a/packages/mistralai-azure/.speakeasy/gen.yaml +++ b/packages/mistralai-azure/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: true typescript: - version: 1.0.3 + version: 1.0.4 additionalDependencies: dependencies: {} devDependencies: {} diff --git a/packages/mistralai-azure/FUNCTIONS.md b/packages/mistralai-azure/FUNCTIONS.md index 2a14359..8fd77c4 100644 --- a/packages/mistralai-azure/FUNCTIONS.md +++ b/packages/mistralai-azure/FUNCTIONS.md @@ -33,10 +33,10 @@ async function run() { const res = await chatComplete(mistralAzure, { model: "azureai", messages: [ - { + { content: "Who is the best French painter? Answer in one short sentence.", - role: "user", - }, + role: "user", + }, ], }); diff --git a/packages/mistralai-azure/RELEASES.md b/packages/mistralai-azure/RELEASES.md index 5511937..c6496f2 100644 --- a/packages/mistralai-azure/RELEASES.md +++ b/packages/mistralai-azure/RELEASES.md @@ -28,4 +28,14 @@ Based on: ### Generated - [typescript v1.0.3] packages/mistralai-azure ### Releases -- [NPM v1.0.3] https://www.npmjs.com/package/@mistralai/mistralai-azure/v/1.0.3 - packages/mistralai-azure \ No newline at end of file +- [NPM v1.0.3] https://www.npmjs.com/package/@mistralai/mistralai-azure/v/1.0.3 - packages/mistralai-azure + +## 2024-08-23 12:00:05 +### 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-azure +### Releases +- [NPM v1.0.4] https://www.npmjs.com/package/@mistralai/mistralai-azure/v/1.0.4 - packages/mistralai-azure \ No newline at end of file diff --git a/packages/mistralai-azure/jsr.json b/packages/mistralai-azure/jsr.json index f6a673a..ce9fe5e 100644 --- a/packages/mistralai-azure/jsr.json +++ b/packages/mistralai-azure/jsr.json @@ -2,7 +2,7 @@ { "name": "@mistralai/mistralai-azure", - "version": "1.0.3", + "version": "1.0.4", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/packages/mistralai-azure/package-lock.json b/packages/mistralai-azure/package-lock.json index 68de06c..cfe5a73 100644 --- a/packages/mistralai-azure/package-lock.json +++ b/packages/mistralai-azure/package-lock.json @@ -1,12 +1,12 @@ { "name": "@mistralai/mistralai-azure", - "version": "1.0.3", + "version": "1.0.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@mistralai/mistralai-azure", - "version": "1.0.3", + "version": "1.0.4", "devDependencies": { "@typescript-eslint/eslint-plugin": "^7.7.1", "@typescript-eslint/parser": "^7.7.1", diff --git a/packages/mistralai-azure/package.json b/packages/mistralai-azure/package.json index 54e7a9f..227a9a5 100644 --- a/packages/mistralai-azure/package.json +++ b/packages/mistralai-azure/package.json @@ -1,6 +1,6 @@ { "name": "@mistralai/mistralai-azure", - "version": "1.0.3", + "version": "1.0.4", "author": "Speakeasy", "main": "./index.js", "sideEffects": false, diff --git a/packages/mistralai-azure/src/lib/config.ts b/packages/mistralai-azure/src/lib/config.ts index f1020ac..08d1576 100644 --- a/packages/mistralai-azure/src/lib/config.ts +++ b/packages/mistralai-azure/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-azure", + sdkVersion: "1.0.4", + genVersion: "2.404.3", + userAgent: "speakeasy-sdk/typescript 1.0.4 2.404.3 0.0.2 @mistralai/mistralai-azure", } as const; diff --git a/packages/mistralai-azure/src/models/components/assistantmessage.ts b/packages/mistralai-azure/src/models/components/assistantmessage.ts index c03cadd..f3329c5 100644 --- a/packages/mistralai-azure/src/models/components/assistantmessage.ts +++ b/packages/mistralai-azure/src/models/components/assistantmessage.ts @@ -51,7 +51,7 @@ export const AssistantMessage$inboundSchema: z.ZodType { diff --git a/packages/mistralai-azure/src/models/components/chatcompletionrequest.ts b/packages/mistralai-azure/src/models/components/chatcompletionrequest.ts index 066cd28..ea99f6c 100644 --- a/packages/mistralai-azure/src/models/components/chatcompletionrequest.ts +++ b/packages/mistralai-azure/src/models/components/chatcompletionrequest.ts @@ -229,7 +229,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( @@ -251,7 +251,7 @@ export const ChatCompletionRequest$inboundSchema: z.ZodType< response_format: ResponseFormat$inboundSchema.optional(), tools: z.nullable(z.array(Tool$inboundSchema)).optional(), tool_choice: ChatCompletionRequestToolChoice$inboundSchema.default("auto"), - safe_prompt: z.boolean(), + safe_prompt: z.boolean().default(false), }) .transform((v) => { return remap$(v, { diff --git a/packages/mistralai-azure/src/models/components/chatcompletionstreamrequest.ts b/packages/mistralai-azure/src/models/components/chatcompletionstreamrequest.ts index 79174ee..6eb7f14 100644 --- a/packages/mistralai-azure/src/models/components/chatcompletionstreamrequest.ts +++ b/packages/mistralai-azure/src/models/components/chatcompletionstreamrequest.ts @@ -237,7 +237,7 @@ export const ChatCompletionStreamRequest$inboundSchema: z.ZodType< response_format: ResponseFormat$inboundSchema.optional(), tools: z.nullable(z.array(Tool$inboundSchema)).optional(), tool_choice: ToolChoice$inboundSchema.default("auto"), - safe_prompt: z.boolean(), + safe_prompt: z.boolean().default(false), }) .transform((v) => { return remap$(v, {