Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.378.0 (#25)
Browse files Browse the repository at this point in the history
Co-authored-by: speakeasybot <[email protected]>
  • Loading branch information
github-actions[bot] and speakeasybot authored Aug 23, 2024
1 parent af0b58e commit f03ae7d
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 21 deletions.
10 changes: 5 additions & 5 deletions packages/mistralai-azure/.speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ 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
published: true
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
Expand Down
2 changes: 1 addition & 1 deletion packages/mistralai-azure/.speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
typescript:
version: 1.0.3
version: 1.0.4
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand Down
6 changes: 3 additions & 3 deletions packages/mistralai-azure/FUNCTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
],
});

Expand Down
12 changes: 11 additions & 1 deletion packages/mistralai-azure/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
- [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
2 changes: 1 addition & 1 deletion packages/mistralai-azure/jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/mistralai-azure/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/mistralai-azure/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mistralai/mistralai-azure",
"version": "1.0.3",
"version": "1.0.4",
"author": "Speakeasy",
"main": "./index.js",
"sideEffects": false,
Expand Down
6 changes: 3 additions & 3 deletions packages/mistralai-azure/src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const AssistantMessage$inboundSchema: z.ZodType<AssistantMessage, z.ZodTy
.object({
content: z.nullable(z.string()).optional(),
tool_calls: z.nullable(z.array(ToolCall$inboundSchema)).optional(),
prefix: z.boolean(),
prefix: z.boolean().default(false),
role: AssistantMessageRole$inboundSchema.default("assistant"),
})
.transform((v) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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, {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down

0 comments on commit f03ae7d

Please sign in to comment.