Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 81b65c50-f2e3-40a3-bd65-346524007b3d
management:
docChecksum: 9c8bd4d6bf675b159a80173b97c1265c
docChecksum: e0186c33d0269977e1790dfcc7d11aac
docVersion: 1.0.0
speakeasyVersion: 1.517.3
generationVersion: 2.548.6
releaseVersion: 1.7.2
configChecksum: 2231634947960f9c67d18ecb5c141174
releaseVersion: 1.7.3
configChecksum: 56ba7c9a01b61f8ad043acd00caf7380
repoURL: https://github.com/mistralai/client-ts.git
installationURL: https://github.com/mistralai/client-ts
published: true
Expand Down Expand Up @@ -181,6 +181,7 @@ generatedFiles:
- docs/models/components/embeddingresponsedata.md
- docs/models/components/entries.md
- docs/models/components/eventout.md
- docs/models/components/filechunk.md
- docs/models/components/filepurpose.md
- docs/models/components/fileschema.md
- docs/models/components/filesignedurl.md
Expand All @@ -194,7 +195,6 @@ generatedFiles:
- docs/models/components/ftclassifierlossfunction.md
- docs/models/components/ftmodelcapabilitiesout.md
- docs/models/components/ftmodelcard.md
- docs/models/components/ftmodelcardtype.md
- docs/models/components/functioncall.md
- docs/models/components/functioncallentry.md
- docs/models/components/functioncallentryarguments.md
Expand Down Expand Up @@ -246,7 +246,6 @@ generatedFiles:
- docs/models/components/messageinputentry.md
- docs/models/components/messageinputentrycontent.md
- docs/models/components/messageinputentryrole.md
- docs/models/components/messageinputentrytype.md
- docs/models/components/messageoutputcontentchunks.md
- docs/models/components/messageoutputentry.md
- docs/models/components/messageoutputentrycontent.md
Expand Down Expand Up @@ -543,6 +542,7 @@ generatedFiles:
- src/models/components/embeddingresponse.ts
- src/models/components/embeddingresponsedata.ts
- src/models/components/eventout.ts
- src/models/components/filechunk.ts
- src/models/components/filepurpose.ts
- src/models/components/fileschema.ts
- src/models/components/filesignedurl.ts
Expand Down Expand Up @@ -711,7 +711,7 @@ examples:
model_id: "ft:open-mistral-7b:587a6b29:20240514:7e773925"
responses:
"200":
application/json: {"id": "<id>", "object": "model", "owned_by": "mistralai", "capabilities": {"completion_chat": true, "completion_fim": false, "function_calling": true, "fine_tuning": false, "vision": false}, "max_context_length": 32768}
application/json: {"id": "<id>", "object": "model", "owned_by": "mistralai", "capabilities": {"completion_chat": true, "completion_fim": false, "function_calling": true, "fine_tuning": false, "vision": false, "classification": false}, "max_context_length": 32768}
"422": {}
delete_model_v1_models__model_id__delete:
"":
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
typescript:
version: 1.7.2
version: 1.7.3
additionalDependencies:
dependencies:
zod-to-json-schema: ^3.24.1
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ sources:
- speakeasy-sdk-regen-1742480568
mistral-openapi:
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:21244d618cafcc163c3aa4acbc443ca16c63b8614632b65b87fbb2c4066987f3
sourceBlobDigest: sha256:74aeb6a2e0d466c206f983ce79581cc72d205cc7866826282c181207ebe841a2
sourceRevisionDigest: sha256:e9fd379cd22f75a10ccc5b866f4de98f973c3c0f77cb15a7bebcb94bf10c82f2
sourceBlobDigest: sha256:4bb656d10d1cfbe09f9b1b7734c79f1855eb27184590362d3747116f6abf69d1
tags:
- latest
- speakeasy-sdk-regen-1749573772
- speakeasy-sdk-regen-1751356549
targets:
mistralai-azure-sdk:
source: mistral-azure-source
Expand All @@ -39,10 +39,10 @@ targets:
mistralai-sdk:
source: mistral-openapi
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:21244d618cafcc163c3aa4acbc443ca16c63b8614632b65b87fbb2c4066987f3
sourceBlobDigest: sha256:74aeb6a2e0d466c206f983ce79581cc72d205cc7866826282c181207ebe841a2
sourceRevisionDigest: sha256:e9fd379cd22f75a10ccc5b866f4de98f973c3c0f77cb15a7bebcb94bf10c82f2
sourceBlobDigest: sha256:4bb656d10d1cfbe09f9b1b7734c79f1855eb27184590362d3747116f6abf69d1
codeSamplesNamespace: mistral-openapi-code-samples
codeSamplesRevisionDigest: sha256:d3f8bd04c44b92ad34ab2a1a93e0cf9a8cda5b2eecfcb6dbddfff8f44e91fc93
codeSamplesRevisionDigest: sha256:8391050c18eb637f3eacdb33c98bb07c202c217f6a939b5aea9d49fd636cc553
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.517.3
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,4 +208,14 @@ Based on:
### Generated
- [typescript v1.7.2] .
### Releases
- [NPM v1.7.2] https://www.npmjs.com/package/@mistralai/mistralai/v/1.7.2 - .
- [NPM v1.7.2] https://www.npmjs.com/package/@mistralai/mistralai/v/1.7.2 - .

## 2025-07-01 07:55:31
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.517.3 (2.548.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v1.7.3] .
### Releases
- [NPM v1.7.3] https://www.npmjs.com/package/@mistralai/mistralai/v/1.7.3 - .
8 changes: 4 additions & 4 deletions docs/models/components/agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
import { Agent } from "@mistralai/mistralai/models/components";

let value: Agent = {
model: "Wrangler",
model: "Cruze",
name: "<value>",
id: "<id>",
version: 7,
createdAt: new Date("2023-08-25T04:42:50.179Z"),
updatedAt: new Date("2025-11-04T07:38:09.644Z"),
version: 10,
createdAt: new Date("2025-04-18T19:06:55.714Z"),
updatedAt: new Date("2025-03-31T12:50:52.284Z"),
};
```

Expand Down
4 changes: 2 additions & 2 deletions docs/models/components/agentconversation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { AgentConversation } from "@mistralai/mistralai/models/components";

let value: AgentConversation = {
id: "<id>",
createdAt: new Date("2024-01-30T12:51:46.829Z"),
updatedAt: new Date("2025-03-11T01:40:18.315Z"),
createdAt: new Date("2024-11-12T03:22:04.343Z"),
updatedAt: new Date("2024-09-24T15:25:14.861Z"),
agentId: "<id>",
};
```
Expand Down
2 changes: 1 addition & 1 deletion docs/models/components/agentcreationrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { AgentCreationRequest } from "@mistralai/mistralai/models/components";

let value: AgentCreationRequest = {
model: "Model T",
model: "Taurus",
name: "<value>",
};
```
Expand Down
2 changes: 1 addition & 1 deletion docs/models/components/agentscompletionrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ let value: AgentsCompletionRequest = {
| `n` | *number* | :heavy_minus_sign: | Number of completions to return for each request, input tokens are only billed once. | |
| `prediction` | [components.Prediction](../../models/components/prediction.md) | :heavy_minus_sign: | N/A | |
| `parallelToolCalls` | *boolean* | :heavy_minus_sign: | N/A | |
| `promptMode` | [components.MistralPromptMode](../../models/components/mistralpromptmode.md) | :heavy_minus_sign: | N/A | |
| `promptMode` | [components.MistralPromptMode](../../models/components/mistralpromptmode.md) | :heavy_minus_sign: | Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. | |
| `agentId` | *string* | :heavy_check_mark: | The ID of the agent to use for this completion. | |
14 changes: 7 additions & 7 deletions docs/models/components/agentscompletionrequestmessages.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ const value: components.AssistantMessage = {};

```typescript
const value: components.SystemMessage = {
content: "<value>",
content: [
{
text: "<value>",
type: "text",
},
],
};
```

### `components.ToolMessage`

```typescript
const value: components.ToolMessage = {
content: [
{
text: "<value>",
type: "text",
},
],
content: "<value>",
};
```

Expand Down
Loading