@mistralai/mistralai 1.9.17 → 1.9.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/messageinputcontentchunks.d.ts +3 -2
- package/models/components/messageinputcontentchunks.d.ts.map +1 -1
- package/models/components/messageinputcontentchunks.js +3 -0
- package/models/components/messageinputcontentchunks.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/messageinputcontentchunks.ts +10 -0
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -33,8 +33,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
33
33
|
export declare const SDK_METADATA: {
|
|
34
34
|
readonly language: "typescript";
|
|
35
35
|
readonly openapiDocVersion: "1.0.0";
|
|
36
|
-
readonly sdkVersion: "1.9.
|
|
36
|
+
readonly sdkVersion: "1.9.18";
|
|
37
37
|
readonly genVersion: "2.548.6";
|
|
38
|
-
readonly userAgent: "speakeasy-sdk/typescript 1.9.
|
|
38
|
+
readonly userAgent: "speakeasy-sdk/typescript 1.9.18 2.548.6 1.0.0 @mistralai/mistralai";
|
|
39
39
|
};
|
|
40
40
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -29,8 +29,8 @@ function serverURLFromOptions(options) {
|
|
|
29
29
|
exports.SDK_METADATA = {
|
|
30
30
|
language: "typescript",
|
|
31
31
|
openapiDocVersion: "1.0.0",
|
|
32
|
-
sdkVersion: "1.9.
|
|
32
|
+
sdkVersion: "1.9.18",
|
|
33
33
|
genVersion: "2.548.6",
|
|
34
|
-
userAgent: "speakeasy-sdk/typescript 1.9.
|
|
34
|
+
userAgent: "speakeasy-sdk/typescript 1.9.18 2.548.6 1.0.0 @mistralai/mistralai",
|
|
35
35
|
};
|
|
36
36
|
//# sourceMappingURL=config.js.map
|
|
@@ -4,12 +4,13 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
4
4
|
import { DocumentURLChunk, DocumentURLChunk$Outbound } from "./documenturlchunk.js";
|
|
5
5
|
import { ImageURLChunk, ImageURLChunk$Outbound } from "./imageurlchunk.js";
|
|
6
6
|
import { TextChunk, TextChunk$Outbound } from "./textchunk.js";
|
|
7
|
+
import { ThinkChunk, ThinkChunk$Outbound } from "./thinkchunk.js";
|
|
7
8
|
import { ToolFileChunk, ToolFileChunk$Outbound } from "./toolfilechunk.js";
|
|
8
|
-
export type MessageInputContentChunks = TextChunk | ImageURLChunk | DocumentURLChunk | ToolFileChunk;
|
|
9
|
+
export type MessageInputContentChunks = TextChunk | ImageURLChunk | DocumentURLChunk | ThinkChunk | ToolFileChunk;
|
|
9
10
|
/** @internal */
|
|
10
11
|
export declare const MessageInputContentChunks$inboundSchema: z.ZodType<MessageInputContentChunks, z.ZodTypeDef, unknown>;
|
|
11
12
|
/** @internal */
|
|
12
|
-
export type MessageInputContentChunks$Outbound = TextChunk$Outbound | ImageURLChunk$Outbound | DocumentURLChunk$Outbound | ToolFileChunk$Outbound;
|
|
13
|
+
export type MessageInputContentChunks$Outbound = TextChunk$Outbound | ImageURLChunk$Outbound | DocumentURLChunk$Outbound | ThinkChunk$Outbound | ToolFileChunk$Outbound;
|
|
13
14
|
/** @internal */
|
|
14
15
|
export declare const MessageInputContentChunks$outboundSchema: z.ZodType<MessageInputContentChunks$Outbound, z.ZodTypeDef, MessageInputContentChunks>;
|
|
15
16
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messageinputcontentchunks.d.ts","sourceRoot":"","sources":["../../src/models/components/messageinputcontentchunks.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,gBAAgB,EAEhB,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,SAAS,EAET,kBAAkB,EAEnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAE5B,MAAM,MAAM,yBAAyB,GACjC,SAAS,GACT,aAAa,GACb,gBAAgB,GAChB,aAAa,CAAC;AAElB,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,
|
|
1
|
+
{"version":3,"file":"messageinputcontentchunks.d.ts","sourceRoot":"","sources":["../../src/models/components/messageinputcontentchunks.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,gBAAgB,EAEhB,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,SAAS,EAET,kBAAkB,EAEnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,UAAU,EAEV,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAE5B,MAAM,MAAM,yBAAyB,GACjC,SAAS,GACT,aAAa,GACb,gBAAgB,GAChB,UAAU,GACV,aAAa,CAAC;AAElB,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAC1C,kBAAkB,GAClB,sBAAsB,GACtB,yBAAyB,GACzB,mBAAmB,GACnB,sBAAsB,CAAC;AAE3B,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CAOzB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,0BAA0B,CAAC;IAC1C,yEAAyE;IAClE,MAAM,aAAa,6DAA0C,CAAC;IACrE,0EAA0E;IACnE,MAAM,cAAc,wFAA2C,CAAC;IACvE,oEAAoE;IACpE,KAAY,QAAQ,GAAG,kCAAkC,CAAC;CAC3D;AAED,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR;AAED,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE"}
|
|
@@ -34,12 +34,14 @@ const schemas_js_1 = require("../../lib/schemas.js");
|
|
|
34
34
|
const documenturlchunk_js_1 = require("./documenturlchunk.js");
|
|
35
35
|
const imageurlchunk_js_1 = require("./imageurlchunk.js");
|
|
36
36
|
const textchunk_js_1 = require("./textchunk.js");
|
|
37
|
+
const thinkchunk_js_1 = require("./thinkchunk.js");
|
|
37
38
|
const toolfilechunk_js_1 = require("./toolfilechunk.js");
|
|
38
39
|
/** @internal */
|
|
39
40
|
exports.MessageInputContentChunks$inboundSchema = z.union([
|
|
40
41
|
textchunk_js_1.TextChunk$inboundSchema,
|
|
41
42
|
imageurlchunk_js_1.ImageURLChunk$inboundSchema,
|
|
42
43
|
documenturlchunk_js_1.DocumentURLChunk$inboundSchema,
|
|
44
|
+
thinkchunk_js_1.ThinkChunk$inboundSchema,
|
|
43
45
|
toolfilechunk_js_1.ToolFileChunk$inboundSchema,
|
|
44
46
|
]);
|
|
45
47
|
/** @internal */
|
|
@@ -47,6 +49,7 @@ exports.MessageInputContentChunks$outboundSchema = z.union([
|
|
|
47
49
|
textchunk_js_1.TextChunk$outboundSchema,
|
|
48
50
|
imageurlchunk_js_1.ImageURLChunk$outboundSchema,
|
|
49
51
|
documenturlchunk_js_1.DocumentURLChunk$outboundSchema,
|
|
52
|
+
thinkchunk_js_1.ThinkChunk$outboundSchema,
|
|
50
53
|
toolfilechunk_js_1.ToolFileChunk$outboundSchema,
|
|
51
54
|
]);
|
|
52
55
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messageinputcontentchunks.js","sourceRoot":"","sources":["../../src/models/components/messageinputcontentchunks.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"messageinputcontentchunks.js","sourceRoot":"","sources":["../../src/models/components/messageinputcontentchunks.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA2FH,0EAMC;AAED,8EAQC;AAzGD,uCAAyB;AACzB,qDAAiD;AAGjD,+DAK+B;AAC/B,yDAK4B;AAC5B,iDAKwB;AACxB,mDAKyB;AACzB,yDAK4B;AAS5B,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,KAAK,CAAC;IACV,sCAAuB;IACvB,8CAA2B;IAC3B,oDAA8B;IAC9B,wCAAwB;IACxB,8CAA2B;CAC5B,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,KAAK,CAAC;IACV,uCAAwB;IACxB,+CAA4B;IAC5B,qDAA+B;IAC/B,yCAAyB;IACzB,+CAA4B;CAC7B,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,0BAA0B,CAO1C;AAPD,WAAiB,0BAA0B;IACzC,yEAAyE;IAC5D,wCAAa,GAAG,+CAAuC,CAAC;IACrE,0EAA0E;IAC7D,yCAAc,GAAG,gDAAwC,CAAC;AAGzE,CAAC,EAPgB,0BAA0B,0CAA1B,0BAA0B,QAO1C;AAED,SAAgB,+BAA+B,CAC7C,yBAAoD;IAEpD,OAAO,IAAI,CAAC,SAAS,CACnB,gDAAwC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AACJ,CAAC;AAED,SAAgB,iCAAiC,CAC/C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,+CAAuC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACnE,uDAAuD,CACxD,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -55,8 +55,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
55
55
|
export const SDK_METADATA = {
|
|
56
56
|
language: "typescript",
|
|
57
57
|
openapiDocVersion: "1.0.0",
|
|
58
|
-
sdkVersion: "1.9.
|
|
58
|
+
sdkVersion: "1.9.18",
|
|
59
59
|
genVersion: "2.548.6",
|
|
60
60
|
userAgent:
|
|
61
|
-
"speakeasy-sdk/typescript 1.9.
|
|
61
|
+
"speakeasy-sdk/typescript 1.9.18 2.548.6 1.0.0 @mistralai/mistralai",
|
|
62
62
|
} as const;
|
|
@@ -24,6 +24,12 @@ import {
|
|
|
24
24
|
TextChunk$Outbound,
|
|
25
25
|
TextChunk$outboundSchema,
|
|
26
26
|
} from "./textchunk.js";
|
|
27
|
+
import {
|
|
28
|
+
ThinkChunk,
|
|
29
|
+
ThinkChunk$inboundSchema,
|
|
30
|
+
ThinkChunk$Outbound,
|
|
31
|
+
ThinkChunk$outboundSchema,
|
|
32
|
+
} from "./thinkchunk.js";
|
|
27
33
|
import {
|
|
28
34
|
ToolFileChunk,
|
|
29
35
|
ToolFileChunk$inboundSchema,
|
|
@@ -35,6 +41,7 @@ export type MessageInputContentChunks =
|
|
|
35
41
|
| TextChunk
|
|
36
42
|
| ImageURLChunk
|
|
37
43
|
| DocumentURLChunk
|
|
44
|
+
| ThinkChunk
|
|
38
45
|
| ToolFileChunk;
|
|
39
46
|
|
|
40
47
|
/** @internal */
|
|
@@ -46,6 +53,7 @@ export const MessageInputContentChunks$inboundSchema: z.ZodType<
|
|
|
46
53
|
TextChunk$inboundSchema,
|
|
47
54
|
ImageURLChunk$inboundSchema,
|
|
48
55
|
DocumentURLChunk$inboundSchema,
|
|
56
|
+
ThinkChunk$inboundSchema,
|
|
49
57
|
ToolFileChunk$inboundSchema,
|
|
50
58
|
]);
|
|
51
59
|
|
|
@@ -54,6 +62,7 @@ export type MessageInputContentChunks$Outbound =
|
|
|
54
62
|
| TextChunk$Outbound
|
|
55
63
|
| ImageURLChunk$Outbound
|
|
56
64
|
| DocumentURLChunk$Outbound
|
|
65
|
+
| ThinkChunk$Outbound
|
|
57
66
|
| ToolFileChunk$Outbound;
|
|
58
67
|
|
|
59
68
|
/** @internal */
|
|
@@ -65,6 +74,7 @@ export const MessageInputContentChunks$outboundSchema: z.ZodType<
|
|
|
65
74
|
TextChunk$outboundSchema,
|
|
66
75
|
ImageURLChunk$outboundSchema,
|
|
67
76
|
DocumentURLChunk$outboundSchema,
|
|
77
|
+
ThinkChunk$outboundSchema,
|
|
68
78
|
ToolFileChunk$outboundSchema,
|
|
69
79
|
]);
|
|
70
80
|
|