Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.378.0 (#26)
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 b540ca7 commit af0b58e
Show file tree
Hide file tree
Showing 12 changed files with 31 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
speakeasyVersion: 1.376.0
speakeasyVersion: 1.378.0
sources:
mistral-azure-source:
sourceNamespace: mistral-openapi-azure
Expand Down
10 changes: 5 additions & 5 deletions packages/mistralai-gcp/.speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ 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
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-gcp/.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:
google-auth-library: ^9.11.0
Expand Down
6 changes: 3 additions & 3 deletions packages/mistralai-gcp/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(mistralGoogleCloud, {
model: "mistral-small-latest",
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-gcp/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-gcp
### Releases
- [NPM v1.0.3] https://www.npmjs.com/package/@mistralai/mistralai-gcp/v/1.0.3 - packages/mistralai-gcp
- [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
2 changes: 1 addition & 1 deletion packages/mistralai-gcp/jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/mistralai-gcp/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-gcp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mistralai/mistralai-gcp",
"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-gcp/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-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;
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 @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit af0b58e

Please sign in to comment.