Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.399.3 (#27)
Browse files Browse the repository at this point in the history
Co-authored-by: speakeasybot <[email protected]>
Co-authored-by: Gaspard Blanchet <[email protected]>
  • Loading branch information
3 people authored Sep 19, 2024
1 parent 4d6998c commit fbb2cb6
Show file tree
Hide file tree
Showing 88 changed files with 3,594 additions and 2,966 deletions.
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ speakeasyVersion: 1.399.3
sources:
mistral-azure-source:
sourceNamespace: mistral-openapi-azure
sourceRevisionDigest: sha256:908fd38167347d1ad63b470b52ca11983df56e7c5e86759534cfa94b6dfabb81
sourceBlobDigest: sha256:84928a6297c3a838dce719ffa3da1e221cba968ce4a6c74d5c3bb41bf86a7e5d
sourceRevisionDigest: sha256:4e9539e6903e630aa69e48af190a24d3702f6038c7b7a92472c7942597c2a6f5
sourceBlobDigest: sha256:3ace0709471c04a040c9763097fef0081d6c21a1be0b694dfe5991c045b76d18
tags:
- latest
- main
Expand All @@ -25,13 +25,13 @@ targets:
mistralai-azure-sdk:
source: mistral-azure-source
sourceNamespace: mistral-openapi-azure
sourceRevisionDigest: sha256:908fd38167347d1ad63b470b52ca11983df56e7c5e86759534cfa94b6dfabb81
sourceBlobDigest: sha256:84928a6297c3a838dce719ffa3da1e221cba968ce4a6c74d5c3bb41bf86a7e5d
sourceRevisionDigest: sha256:4e9539e6903e630aa69e48af190a24d3702f6038c7b7a92472c7942597c2a6f5
sourceBlobDigest: sha256:3ace0709471c04a040c9763097fef0081d6c21a1be0b694dfe5991c045b76d18
mistralai-gcp-sdk:
source: mistral-google-cloud-source
sourceNamespace: mistral-openapi-google-cloud
sourceRevisionDigest: sha256:3047ad3ff8797fded89618b375d1398d48924a3a5f9ea1000c4284a110567c43
sourceBlobDigest: sha256:02bbcef310f965d7ad089fb46d57b39f45b47cbc8f5cf90f728db03e960bdbca
sourceRevisionDigest: sha256:6d8dfe3442be38fdac56eadabec39bcbe9e2d652080802d9cc46a68c28b38dbc
sourceBlobDigest: sha256:a4c011f461c73809a7d6cf1c9823d3c51d5050895aad246287ff14ac971efb8c
mistralai-sdk:
source: mistral-openapi
sourceNamespace: mistral-openapi
Expand Down
1 change: 1 addition & 0 deletions packages/mistralai-azure/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/__tests__
/core.*
/funcs
/models
Expand Down
1 change: 1 addition & 0 deletions packages/mistralai-azure/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
/cjs
/.tshy
/.tshy-*
/__tests__
188 changes: 106 additions & 82 deletions packages/mistralai-azure/.speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 01e8a40b-3df3-4d9a-9501-2eb9e0d26c05
management:
docChecksum: 9128fabc3ae45ecc9ed7fae8991b3d3e
docChecksum: e99cb4d498ede912c81ab20b7828c0e3
docVersion: 0.0.2
speakeasyVersion: 1.378.0
generationVersion: 2.404.3
releaseVersion: 1.0.4
configChecksum: 1bf151a94ed63e8a355876d008b39575
speakeasyVersion: 1.399.3
generationVersion: 2.420.2
releaseVersion: 1.1.0
configChecksum: 394c4e8111cab57180b9bf30fa72d171
repoURL: https://github.com/mistralai/client-ts.git
repoSubDirectory: packages/mistralai-azure
installationURL: https://gitpkg.now.sh/mistralai/client-ts/packages/mistralai-azure
Expand All @@ -15,8 +15,9 @@ features:
typescript:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.11
core: 3.14.1
core: 3.17.5
defaultEnabledRetries: 0.1.0
enumUnions: 0.1.0
envVarSecurityUsage: 0.1.1
examples: 2.81.4
globalSecurity: 2.82.11
Expand All @@ -34,23 +35,73 @@ features:
serverIDs: 2.81.2
unions: 2.85.7
generatedFiles:
- src/funcs/chatStream.ts
- src/funcs/chatComplete.ts
- src/sdk/chat.ts
- .eslintrc.cjs
- .gitattributes
- .npmignore
- FUNCTIONS.md
- RUNTIMES.md
- docs/lib/utils/retryconfig.md
- docs/models/components/arguments.md
- docs/models/components/assistantmessage.md
- docs/models/components/assistantmessagerole.md
- docs/models/components/chatcompletionchoice.md
- docs/models/components/chatcompletionchoicefinishreason.md
- docs/models/components/chatcompletionrequest.md
- docs/models/components/chatcompletionrequestmessages.md
- docs/models/components/chatcompletionrequeststop.md
- docs/models/components/chatcompletionrequesttoolchoice.md
- docs/models/components/chatcompletionresponse.md
- docs/models/components/chatcompletionstreamrequest.md
- docs/models/components/chatcompletionstreamrequesttoolchoice.md
- docs/models/components/completionchunk.md
- docs/models/components/completionevent.md
- docs/models/components/completionresponsestreamchoice.md
- docs/models/components/content.md
- docs/models/components/contentchunk.md
- docs/models/components/deltamessage.md
- docs/models/components/finishreason.md
- docs/models/components/functioncall.md
- docs/models/components/functionname.md
- docs/models/components/functiont.md
- docs/models/components/loc.md
- docs/models/components/messages.md
- docs/models/components/responseformat.md
- docs/models/components/responseformats.md
- docs/models/components/role.md
- docs/models/components/security.md
- docs/models/components/stop.md
- docs/models/components/systemmessage.md
- docs/models/components/textchunk.md
- docs/models/components/tool.md
- docs/models/components/toolcall.md
- docs/models/components/toolchoice.md
- docs/models/components/toolchoiceenum.md
- docs/models/components/toolmessage.md
- docs/models/components/toolmessagerole.md
- docs/models/components/tooltypes.md
- docs/models/components/type.md
- docs/models/components/usageinfo.md
- docs/models/components/usermessage.md
- docs/models/components/usermessagecontent.md
- docs/models/components/usermessagerole.md
- docs/models/components/validationerror.md
- docs/models/errors/httpvalidationerror.md
- jsr.json
- package.json
- src/core.ts
- src/funcs/chatComplete.ts
- src/funcs/chatStream.ts
- src/hooks/hooks.ts
- src/hooks/index.ts
- src/hooks/types.ts
- src/index.ts
- src/lib/base64.ts
- src/lib/config.ts
- src/lib/dlv.ts
- src/lib/encodings.ts
- src/lib/env.ts
- src/lib/event-streams.ts
- src/lib/files.ts
- src/lib/http.ts
- src/lib/is-plain-object.ts
- src/lib/logger.ts
Expand All @@ -61,87 +112,60 @@ generatedFiles:
- src/lib/sdks.ts
- src/lib/security.ts
- src/lib/url.ts
- src/sdk/index.ts
- src/models/components/assistantmessage.ts
- src/models/components/chatcompletionchoice.ts
- src/models/components/chatcompletionrequest.ts
- src/models/components/chatcompletionresponse.ts
- src/models/components/chatcompletionstreamrequest.ts
- src/models/components/completionchunk.ts
- src/models/components/completionevent.ts
- src/models/components/completionresponsestreamchoice.ts
- src/models/components/contentchunk.ts
- src/models/components/deltamessage.ts
- src/models/components/function.ts
- src/models/components/functioncall.ts
- src/models/components/functionname.ts
- src/models/components/index.ts
- src/models/components/responseformat.ts
- src/models/components/responseformats.ts
- src/models/components/security.ts
- src/models/components/systemmessage.ts
- src/models/components/textchunk.ts
- src/models/components/tool.ts
- src/models/components/toolcall.ts
- src/models/components/toolchoice.ts
- src/models/components/toolchoiceenum.ts
- src/models/components/toolmessage.ts
- src/models/components/tooltypes.ts
- src/models/components/usageinfo.ts
- src/models/components/usermessage.ts
- src/models/components/validationerror.ts
- src/models/errors/httpclienterrors.ts
- src/models/errors/httpvalidationerror.ts
- src/models/errors/index.ts
- src/models/errors/sdkerror.ts
- src/models/errors/sdkvalidationerror.ts
- src/sdk/chat.ts
- src/sdk/index.ts
- src/types/blobs.ts
- src/types/constdatetime.ts
- src/types/enums.ts
- src/types/fp.ts
- src/types/index.ts
- src/types/operations.ts
- src/types/rfcdate.ts
- src/types/streams.ts
- tsconfig.json
- src/models/components/completionevent.ts
- src/models/components/completionchunk.ts
- src/models/components/completionresponsestreamchoice.ts
- src/models/components/deltamessage.ts
- src/models/components/toolcall.ts
- src/models/components/functioncall.ts
- src/models/components/usageinfo.ts
- src/models/components/validationerror.ts
- src/models/components/chatcompletionstreamrequest.ts
- src/models/components/tool.ts
- src/models/components/function.ts
- src/models/components/responseformat.ts
- src/models/components/systemmessage.ts
- src/models/components/contentchunk.ts
- src/models/components/usermessage.ts
- src/models/components/textchunk.ts
- src/models/components/assistantmessage.ts
- src/models/components/toolmessage.ts
- src/models/components/chatcompletionresponse.ts
- src/models/components/chatcompletionchoice.ts
- src/models/components/chatcompletionrequest.ts
- src/models/components/security.ts
- src/models/errors/httpvalidationerror.ts
- src/models/errors/index.ts
- src/models/components/index.ts
- docs/models/components/completionevent.md
- docs/models/components/completionchunk.md
- docs/models/components/finishreason.md
- docs/models/components/completionresponsestreamchoice.md
- docs/models/components/deltamessage.md
- docs/models/components/tooltypes.md
- docs/models/components/toolcall.md
- docs/models/components/arguments.md
- docs/models/components/functioncall.md
- docs/models/components/usageinfo.md
- docs/models/components/loc.md
- docs/models/components/validationerror.md
- docs/models/components/stop.md
- docs/models/components/messages.md
- docs/models/components/toolchoice.md
- docs/models/components/chatcompletionstreamrequest.md
- docs/models/components/tooltooltypes.md
- docs/models/components/tool.md
- docs/models/components/functiont.md
- docs/models/components/responseformats.md
- docs/models/components/responseformat.md
- docs/models/components/content.md
- docs/models/components/role.md
- docs/models/components/systemmessage.md
- docs/models/components/contentchunk.md
- docs/models/components/usermessagecontent.md
- docs/models/components/usermessagerole.md
- docs/models/components/usermessage.md
- docs/models/components/textchunk.md
- docs/models/components/assistantmessagerole.md
- docs/models/components/assistantmessage.md
- docs/models/components/toolmessagerole.md
- docs/models/components/toolmessage.md
- docs/models/components/chatcompletionresponse.md
- docs/models/components/chatcompletionchoicefinishreason.md
- docs/models/components/chatcompletionchoice.md
- docs/models/components/chatcompletionrequeststop.md
- docs/models/components/chatcompletionrequestmessages.md
- docs/models/components/chatcompletionrequesttoolchoice.md
- docs/models/components/chatcompletionrequest.md
- docs/models/components/security.md
- docs/models/errors/httpvalidationerror.md
- docs/lib/utils/retryconfig.md
- .gitattributes
- src/hooks/hooks.ts
- src/hooks/types.ts
- src/hooks/index.ts
examples:
stream_chat:
speakeasy-default-stream-chat:
requestBody:
application/json: {"model": "azureai", "messages": [{"content": "Who is the best French painter? Answer in one short sentence.", "role": "user"}]}
chat_completion_v1_chat_completions_post:
speakeasy-default-chat-completion-v1-chat-completions-post:
requestBody:
application/json: {"model": "azureai", "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"}]}
"422": {}
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.4
version: 1.1.0
additionalDependencies:
dependencies: {}
devDependencies: {}
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 @@ -38,4 +38,14 @@ Based on:
### 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
- [NPM v1.0.4] https://www.npmjs.com/package/@mistralai/mistralai-azure/v/1.0.4 - packages/mistralai-azure

## 2024-09-19 11:35:36
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.399.3 (2.420.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v1.1.0] packages/mistralai-azure
### Releases
- [NPM v1.1.0] https://www.npmjs.com/package/@mistralai/mistralai-azure/v/1.1.0 - packages/mistralai-azure
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
import { ChatCompletionChoice } from "@mistralai/mistralai-azure/models/components";

let value: ChatCompletionChoice = {
index: 0,
message: {},
finishReason: "stop",
index: 0,
message: {},
finishReason: "stop",
};
```

Expand Down
Loading

0 comments on commit fbb2cb6

Please sign in to comment.