Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.469.11 (#73)
Browse files Browse the repository at this point in the history
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
github-actions[bot] and speakeasybot authored Jan 21, 2025

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent 28a1683 commit 9bfc989
Showing 30 changed files with 343 additions and 105 deletions.
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -9,11 +9,11 @@ sources:
- speakeasy-sdk-regen-1736159136
mistral-google-cloud-source:
sourceNamespace: mistral-google-cloud-source
sourceRevisionDigest: sha256:36c7de11e35023dc8fa5f3c0fb0e486d2a102275a2df808c08cfe9d43089be04
sourceBlobDigest: sha256:dd65bfa5d0448ad1851ebb18b57aa675533cd3e166beb86a390b0ab51d16a1c1
sourceRevisionDigest: sha256:737455daaef04083b8087f45b5a6e817cb1b79c468b7a96f2285d9a227b2137b
sourceBlobDigest: sha256:02a4d703161b3a145cac1fe9b5b68dd66efc0688716023520fbb944d92997fdf
tags:
- latest
- speakeasy-sdk-regen-1736159146
- speakeasy-sdk-regen-1737451086
mistral-openapi:
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:c414dd5eecca5f02fe9012a1d131f696e0257fe100c371609272dbc6c522ef07
@@ -32,10 +32,10 @@ targets:
mistralai-gcp-sdk:
source: mistral-google-cloud-source
sourceNamespace: mistral-google-cloud-source
sourceRevisionDigest: sha256:36c7de11e35023dc8fa5f3c0fb0e486d2a102275a2df808c08cfe9d43089be04
sourceBlobDigest: sha256:dd65bfa5d0448ad1851ebb18b57aa675533cd3e166beb86a390b0ab51d16a1c1
sourceRevisionDigest: sha256:737455daaef04083b8087f45b5a6e817cb1b79c468b7a96f2285d9a227b2137b
sourceBlobDigest: sha256:02a4d703161b3a145cac1fe9b5b68dd66efc0688716023520fbb944d92997fdf
codeSamplesNamespace: mistral-openapi-google-cloud-code-samples
codeSamplesRevisionDigest: sha256:6c7faa1abe9597dda347362852d0568923249ad1b1a139dc7a3d8199c51debd1
codeSamplesRevisionDigest: sha256:96cdc38c5ee1d40c0762dfdca1ad4fd5fb8706f81d18897a7e8071dc95c23c14
mistralai-sdk:
source: mistral-openapi
sourceNamespace: mistral-openapi
1 change: 1 addition & 0 deletions packages/mistralai-gcp/.npmignore
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@
!/REACT_QUERY.md
!/**/*.ts
!/**/*.js
!/**/*.json
!/**/*.map

/.eslintrc.js
30 changes: 17 additions & 13 deletions packages/mistralai-gcp/.speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: c6044247-eaf9-46da-b078-0e1334e93be2
management:
docChecksum: 849dde0ef239604ca71711ffc1220b54
docChecksum: 4d1111c8da8a6e8fbd1449ad669e8e0b
docVersion: 0.0.2
speakeasyVersion: 1.462.2
generationVersion: 2.486.1
releaseVersion: 1.3.6
configChecksum: c5bd18e35398f8075849552f082a51a7
speakeasyVersion: 1.469.11
generationVersion: 2.493.32
releaseVersion: 1.4.0
configChecksum: c1fcea2ce26a053058da9d76eb003e28
repoURL: https://github.com/mistralai/client-ts.git
repoSubDirectory: packages/mistralai-gcp
installationURL: https://gitpkg.now.sh/mistralai/client-ts/packages/mistralai-gcp
@@ -15,11 +15,11 @@ features:
typescript:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.11
core: 3.18.12
core: 3.18.16
defaultEnabledRetries: 0.1.0
enumUnions: 0.1.0
envVarSecurityUsage: 0.1.2
examples: 2.81.4
examples: 2.81.5
globalSecurity: 2.82.12
globalSecurityCallbacks: 0.1.0
globalSecurityFlattening: 0.1.0
@@ -71,6 +71,8 @@ generatedFiles:
- docs/models/components/functiont.md
- docs/models/components/loc.md
- docs/models/components/messages.md
- docs/models/components/prediction.md
- docs/models/components/predictiontype.md
- docs/models/components/referencechunk.md
- docs/models/components/referencechunktype.md
- docs/models/components/responseformat.md
@@ -140,6 +142,7 @@ generatedFiles:
- src/models/components/functioncall.ts
- src/models/components/functionname.ts
- src/models/components/index.ts
- src/models/components/prediction.ts
- src/models/components/referencechunk.ts
- src/models/components/responseformat.ts
- src/models/components/responseformats.ts
@@ -176,33 +179,34 @@ examples:
stream_chat:
speakeasy-default-stream-chat:
requestBody:
application/json: {"model": "mistral-small-latest", "messages": [{"content": "Who is the best French painter? Answer in one short sentence.", "role": "user"}]}
application/json: {"model": "mistral-small-latest", "stream": true, "messages": [{"content": "Who is the best French painter? Answer in one short sentence.", "role": "user"}]}
responses:
"422":
application/json: {}
chat_completion_v1_chat_completions_post:
speakeasy-default-chat-completion-v1-chat-completions-post:
requestBody:
application/json: {"model": "mistral-small-latest", "messages": [{"content": "Who is the best French painter? Answer in one short sentence.", "role": "user"}]}
application/json: {"model": "mistral-small-latest", "stream": false, "messages": [{"content": "Who is the best French painter? Answer in one short sentence.", "role": "user"}]}
responses:
"200":
application/json: {"id": "cmpl-e5cc70bb28c444948073e77776eb30ef", "object": "chat.completion", "model": "mistral-small-latest", "usage": {"prompt_tokens": 16, "completion_tokens": 34, "total_tokens": 50}, "created": 1702256327, "choices": [{"index": 0, "finish_reason": "stop"}, {"index": 0, "finish_reason": "stop"}, {"index": 0, "finish_reason": "stop"}]}
application/json: {"id": "cmpl-e5cc70bb28c444948073e77776eb30ef", "object": "chat.completion", "model": "mistral-small-latest", "usage": {"prompt_tokens": 16, "completion_tokens": 34, "total_tokens": 50}, "created": 1702256327, "choices": [{"index": 0, "message": {"prefix": false, "role": "assistant"}, "finish_reason": "stop"}, {"index": 0, "message": {"prefix": false, "role": "assistant"}, "finish_reason": "stop"}, {"index": 0, "message": {"prefix": false, "role": "assistant"}, "finish_reason": "stop"}]}
"422":
application/json: {}
stream_fim:
speakeasy-default-stream-fim:
requestBody:
application/json: {"model": "codestral-2405", "prompt": "def", "suffix": "return a+b"}
application/json: {"model": "codestral-2405", "top_p": 1, "stream": true, "prompt": "def", "suffix": "return a+b"}
responses:
"422":
application/json: {}
fim_completion_v1_fim_completions_post:
speakeasy-default-fim-completion-v1-fim-completions-post:
requestBody:
application/json: {"model": "codestral-2405", "prompt": "def", "suffix": "return a+b"}
application/json: {"model": "codestral-2405", "top_p": 1, "stream": false, "prompt": "def", "suffix": "return a+b"}
responses:
"200":
application/json: {"id": "cmpl-e5cc70bb28c444948073e77776eb30ef", "object": "chat.completion", "model": "codestral-latest", "usage": {"prompt_tokens": 16, "completion_tokens": 34, "total_tokens": 50}, "created": 1702256327, "choices": [{"index": 0, "finish_reason": "stop"}, {"index": 0, "finish_reason": "stop"}, {"index": 0, "finish_reason": "stop"}]}
application/json: {"id": "cmpl-e5cc70bb28c444948073e77776eb30ef", "object": "chat.completion", "model": "codestral-latest", "usage": {"prompt_tokens": 16, "completion_tokens": 34, "total_tokens": 50}, "created": 1702256327, "choices": [{"index": 0, "message": {"prefix": false, "role": "assistant"}, "finish_reason": "stop"}, {"index": 0, "message": {"prefix": false, "role": "assistant"}, "finish_reason": "stop"}, {"index": 0, "message": {"prefix": false, "role": "assistant"}, "finish_reason": "stop"}]}
"422":
application/json: {}
examplesVersion: 1.0.0
generatedTests: {}
3 changes: 2 additions & 1 deletion packages/mistralai-gcp/.speakeasy/gen.yaml
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
typescript:
version: 1.3.6
version: 1.4.0
additionalDependencies:
dependencies:
google-auth-library: ^9.11.0
@@ -23,6 +23,7 @@ typescript:
author: Speakeasy
clientServerStatusCodesAsErrors: true
defaultErrorName: SDKError
enableCustomCodeRegions: false
enableReactQuery: false
enumFormat: union
flattenGlobalSecurity: true
1 change: 1 addition & 0 deletions packages/mistralai-gcp/FUNCTIONS.md
Original file line number Diff line number Diff line change
@@ -32,6 +32,7 @@ const mistralGoogleCloud = new MistralGoogleCloudCore({
async function run() {
const res = await chatComplete(mistralGoogleCloud, {
model: "mistral-small-latest",
stream: false,
messages: [
{
content: "Who is the best French painter? Answer in one short sentence.",
12 changes: 11 additions & 1 deletion packages/mistralai-gcp/RELEASES.md
Original file line number Diff line number Diff line change
@@ -98,4 +98,14 @@ Based on:
### Generated
- [typescript v1.3.6] packages/mistralai-gcp
### Releases
- [NPM v1.3.6] https://www.npmjs.com/package/@mistralai/mistralai-gcp/v/1.3.6 - packages/mistralai-gcp
- [NPM v1.3.6] https://www.npmjs.com/package/@mistralai/mistralai-gcp/v/1.3.6 - packages/mistralai-gcp

## 2025-01-21 10:40:45
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.469.11 (2.493.32) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v1.4.0] packages/mistralai-gcp
### Releases
- [NPM v1.4.0] https://www.npmjs.com/package/@mistralai/mistralai-gcp/v/1.4.0 - packages/mistralai-gcp
Loading

0 comments on commit 9bfc989

Please sign in to comment.