Skip to content

Commit 1ce7561

Browse files
Merge pull request #182 from mistralai/fix/regen-license
chore: regenerate main SDK and add license field
2 parents c7cc8c8 + 047c7ea commit 1ce7561

50 files changed

Lines changed: 1533 additions & 490 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.speakeasy/gen.lock

Lines changed: 144 additions & 74 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ typescript:
4343
'@types/node': ^22.0.0
4444
'@types/ws': ^8.5.13
4545
peerDependencies: {}
46-
additionalPackageJSON: {}
46+
additionalPackageJSON:
47+
description: TypeScript client library for the Mistral AI API
48+
license: Apache-2.0
4749
additionalScripts: {}
4850
alwaysIncludeInboundAndOutbound: false
4951
author: Mistral AI

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ sources:
1414
- latest
1515
mistral-openapi:
1616
sourceNamespace: mistral-openapi
17-
sourceRevisionDigest: sha256:4ca07ff6dd708405d376cf74c8111d260aaa3aace7250a406ffbad01f3dfee44
18-
sourceBlobDigest: sha256:3a9d8e056455da40ba3d6b6abb665cf65ccc5b1ba63d84fb823c3156bd385a30
17+
sourceRevisionDigest: sha256:6e4e97e1d1e48b8989a295b3161e6bfe2cc78610337579d0292a4aff56de4edb
18+
sourceBlobDigest: sha256:c16444d5c5cb6979e05018e4e6c6479f2c3363d36b95d16f22b1eaf51ab8fbbf
1919
tags:
2020
- latest
2121
targets:
@@ -36,10 +36,10 @@ targets:
3636
mistralai-sdk:
3737
source: mistral-openapi
3838
sourceNamespace: mistral-openapi
39-
sourceRevisionDigest: sha256:4ca07ff6dd708405d376cf74c8111d260aaa3aace7250a406ffbad01f3dfee44
40-
sourceBlobDigest: sha256:3a9d8e056455da40ba3d6b6abb665cf65ccc5b1ba63d84fb823c3156bd385a30
39+
sourceRevisionDigest: sha256:6e4e97e1d1e48b8989a295b3161e6bfe2cc78610337579d0292a4aff56de4edb
40+
sourceBlobDigest: sha256:c16444d5c5cb6979e05018e4e6c6479f2c3363d36b95d16f22b1eaf51ab8fbbf
4141
codeSamplesNamespace: mistral-openapi-code-samples
42-
codeSamplesRevisionDigest: sha256:72a6f2e6b73c55fc0499d46394bba1ef42f66d98be27921abf039d02a421e1fe
42+
codeSamplesRevisionDigest: sha256:3557de62f8961954d1c93a112182375c821e9238dd7818c2ddfc553c2e65fafe
4343
workflow:
4444
workflowVersion: 1.0.0
4545
speakeasyVersion: v1.751.1

README.md

Lines changed: 316 additions & 312 deletions
Large diffs are not rendered by default.

docs/models/components/agentscompletionrequest.md

Lines changed: 2 additions & 0 deletions
Large diffs are not rendered by default.

docs/models/components/agentscompletionstreamrequest.md

Lines changed: 2 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# AuthUrlResponse
2+
3+
## Example Usage
4+
5+
```typescript
6+
import { AuthUrlResponse } from "@mistralai/mistralai/models/components";
7+
8+
let value: AuthUrlResponse = {
9+
authUrl: "https://milky-doing.net",
10+
ttl: 786823,
11+
};
12+
```
13+
14+
## Fields
15+
16+
| Field | Type | Required | Description |
17+
| ------------------ | ------------------ | ------------------ | ------------------ |
18+
| `authUrl` | *string* | :heavy_check_mark: | N/A |
19+
| `ttl` | *number* | :heavy_check_mark: | N/A |

docs/models/components/basemodelcard.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ let value: BaseModelCard = {
1414

1515
## Fields
1616

17-
| Field | Type | Required | Description |
18-
| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
19-
| `id` | *string* | :heavy_check_mark: | N/A |
20-
| `object` | *string* | :heavy_minus_sign: | N/A |
21-
| `created` | *number* | :heavy_minus_sign: | N/A |
22-
| `ownedBy` | *string* | :heavy_minus_sign: | N/A |
23-
| `capabilities` | [components.ModelCapabilities](../../models/components/modelcapabilities.md) | :heavy_check_mark: | N/A |
24-
| `name` | *string* | :heavy_minus_sign: | N/A |
25-
| `description` | *string* | :heavy_minus_sign: | N/A |
26-
| `maxContextLength` | *number* | :heavy_minus_sign: | N/A |
27-
| `aliases` | *string*[] | :heavy_minus_sign: | N/A |
28-
| `deprecation` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
29-
| `deprecationReplacementModel` | *string* | :heavy_minus_sign: | N/A |
30-
| `defaultModelTemperature` | *number* | :heavy_minus_sign: | N/A |
31-
| `type` | *"base"* | :heavy_check_mark: | N/A |
17+
| Field | Type | Required | Description |
18+
| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
19+
| `id` | *string* | :heavy_check_mark: | N/A |
20+
| `object` | *string* | :heavy_minus_sign: | N/A |
21+
| `created` | *number* | :heavy_minus_sign: | N/A |
22+
| `ownedBy` | *string* | :heavy_minus_sign: | N/A |
23+
| `capabilities` | [components.ModelCapabilities](../../models/components/modelcapabilities.md) | :heavy_check_mark: | This is populated by Harmattan, but some fields have a name<br/>that we don't want to expose in the API. |
24+
| `name` | *string* | :heavy_minus_sign: | N/A |
25+
| `description` | *string* | :heavy_minus_sign: | N/A |
26+
| `maxContextLength` | *number* | :heavy_minus_sign: | N/A |
27+
| `aliases` | *string*[] | :heavy_minus_sign: | N/A |
28+
| `deprecation` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A |
29+
| `deprecationReplacementModel` | *string* | :heavy_minus_sign: | N/A |
30+
| `defaultModelTemperature` | *number* | :heavy_minus_sign: | N/A |
31+
| `type` | *"base"* | :heavy_check_mark: | N/A |

0 commit comments

Comments
 (0)