@convex-dev/agent 0.2.3-alpha.0 → 0.2.4-alpha.0
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/dist/client/definePlaygroundAPI.d.ts +59 -5
- package/dist/client/definePlaygroundAPI.d.ts.map +1 -1
- package/dist/client/files.d.ts +1 -1
- package/dist/client/files.d.ts.map +1 -1
- package/dist/client/files.js.map +1 -1
- package/dist/client/index.d.ts +46 -4
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +14 -13
- package/dist/client/index.js.map +1 -1
- package/dist/client/messages.d.ts +14 -2
- package/dist/client/messages.d.ts.map +1 -1
- package/dist/client/search.d.ts +14 -2
- package/dist/client/search.d.ts.map +1 -1
- package/dist/client/search.js +2 -4
- package/dist/client/search.js.map +1 -1
- package/dist/client/streaming.d.ts +132 -23
- package/dist/client/streaming.d.ts.map +1 -1
- package/dist/component/_generated/api.d.ts +189 -0
- package/dist/component/messages.d.ts +149 -20
- package/dist/component/messages.d.ts.map +1 -1
- package/dist/component/messages.js +4 -4
- package/dist/component/messages.js.map +1 -1
- package/dist/component/schema.d.ts +342 -63
- package/dist/component/schema.d.ts.map +1 -1
- package/dist/mapping.d.ts +4 -4
- package/dist/mapping.d.ts.map +1 -1
- package/dist/mapping.js +67 -36
- package/dist/mapping.js.map +1 -1
- package/dist/react/deltas.d.ts +3 -3
- package/dist/react/deltas.d.ts.map +1 -1
- package/dist/react/deltas.js +302 -30
- package/dist/react/deltas.js.map +1 -1
- package/dist/react/toUIMessages.d.ts.map +1 -1
- package/dist/react/toUIMessages.js +289 -180
- package/dist/react/toUIMessages.js.map +1 -1
- package/dist/react/useSmoothText.d.ts.map +1 -1
- package/dist/react/useSmoothText.js +15 -6
- package/dist/react/useSmoothText.js.map +1 -1
- package/dist/shared.d.ts +4 -0
- package/dist/shared.d.ts.map +1 -1
- package/dist/shared.js +8 -0
- package/dist/shared.js.map +1 -1
- package/dist/validators.d.ts +662 -104
- package/dist/validators.d.ts.map +1 -1
- package/dist/validators.js +8 -0
- package/dist/validators.js.map +1 -1
- package/package.json +1 -1
- package/src/client/files.ts +4 -4
- package/src/client/index.ts +21 -20
- package/src/client/search.ts +2 -6
- package/src/component/_generated/api.d.ts +189 -0
- package/src/component/messages.ts +4 -3
- package/src/mapping.ts +99 -51
- package/src/react/deltas.ts +368 -48
- package/src/react/toUIMessages.test.ts +186 -0
- package/src/react/toUIMessages.ts +366 -192
- package/src/react/useSmoothText.ts +25 -13
- package/src/shared.ts +14 -0
- package/src/validators.ts +8 -0
package/dist/validators.d.ts
CHANGED
|
@@ -11,13 +11,15 @@ export type MessageStatus = Infer<typeof vMessageStatus>;
|
|
|
11
11
|
export declare const vRole: import("convex/values").VUnion<"user" | "assistant" | "tool" | "system", [import("convex/values").VLiteral<"system", "required">, import("convex/values").VLiteral<"user", "required">, import("convex/values").VLiteral<"assistant", "required">, import("convex/values").VLiteral<"tool", "required">], "required", never>;
|
|
12
12
|
export declare const vTextPart: import("convex/values").VObject<{
|
|
13
13
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
14
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
14
15
|
type: "text";
|
|
15
16
|
text: string;
|
|
16
17
|
}, {
|
|
17
18
|
type: import("convex/values").VLiteral<"text", "required">;
|
|
18
19
|
text: import("convex/values").VString<string, "required">;
|
|
19
20
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
20
|
-
|
|
21
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
22
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}`>;
|
|
21
23
|
export declare const vImagePart: import("convex/values").VObject<{
|
|
22
24
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
23
25
|
mimeType?: string | undefined;
|
|
@@ -31,6 +33,7 @@ export declare const vImagePart: import("convex/values").VObject<{
|
|
|
31
33
|
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "image" | "mimeType">;
|
|
32
34
|
export declare const vFilePart: import("convex/values").VObject<{
|
|
33
35
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
36
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
34
37
|
filename?: string | undefined;
|
|
35
38
|
type: "file";
|
|
36
39
|
mimeType: string;
|
|
@@ -41,9 +44,11 @@ export declare const vFilePart: import("convex/values").VObject<{
|
|
|
41
44
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
42
45
|
mimeType: import("convex/values").VString<string, "required">;
|
|
43
46
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
44
|
-
|
|
47
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
48
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename">;
|
|
45
49
|
export declare const vUserContent: import("convex/values").VUnion<string | ({
|
|
46
50
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
51
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
47
52
|
type: "text";
|
|
48
53
|
text: string;
|
|
49
54
|
} | {
|
|
@@ -53,12 +58,14 @@ export declare const vUserContent: import("convex/values").VUnion<string | ({
|
|
|
53
58
|
image: string | ArrayBuffer;
|
|
54
59
|
} | {
|
|
55
60
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
61
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
56
62
|
filename?: string | undefined;
|
|
57
63
|
type: "file";
|
|
58
64
|
mimeType: string;
|
|
59
65
|
data: string | ArrayBuffer;
|
|
60
66
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
61
67
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
68
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
62
69
|
type: "text";
|
|
63
70
|
text: string;
|
|
64
71
|
} | {
|
|
@@ -68,12 +75,14 @@ export declare const vUserContent: import("convex/values").VUnion<string | ({
|
|
|
68
75
|
image: string | ArrayBuffer;
|
|
69
76
|
} | {
|
|
70
77
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
78
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
71
79
|
filename?: string | undefined;
|
|
72
80
|
type: "file";
|
|
73
81
|
mimeType: string;
|
|
74
82
|
data: string | ArrayBuffer;
|
|
75
83
|
})[], import("convex/values").VUnion<{
|
|
76
84
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
85
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
77
86
|
type: "text";
|
|
78
87
|
text: string;
|
|
79
88
|
} | {
|
|
@@ -83,19 +92,22 @@ export declare const vUserContent: import("convex/values").VUnion<string | ({
|
|
|
83
92
|
image: string | ArrayBuffer;
|
|
84
93
|
} | {
|
|
85
94
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
95
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
86
96
|
filename?: string | undefined;
|
|
87
97
|
type: "file";
|
|
88
98
|
mimeType: string;
|
|
89
99
|
data: string | ArrayBuffer;
|
|
90
100
|
}, [import("convex/values").VObject<{
|
|
91
101
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
102
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
92
103
|
type: "text";
|
|
93
104
|
text: string;
|
|
94
105
|
}, {
|
|
95
106
|
type: import("convex/values").VLiteral<"text", "required">;
|
|
96
107
|
text: import("convex/values").VString<string, "required">;
|
|
97
108
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
98
|
-
|
|
109
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
110
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}`>, import("convex/values").VObject<{
|
|
99
111
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
100
112
|
mimeType?: string | undefined;
|
|
101
113
|
type: "image";
|
|
@@ -107,6 +119,7 @@ export declare const vUserContent: import("convex/values").VUnion<string | ({
|
|
|
107
119
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
108
120
|
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "image" | "mimeType">, import("convex/values").VObject<{
|
|
109
121
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
122
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
110
123
|
filename?: string | undefined;
|
|
111
124
|
type: "file";
|
|
112
125
|
mimeType: string;
|
|
@@ -117,9 +130,11 @@ export declare const vUserContent: import("convex/values").VUnion<string | ({
|
|
|
117
130
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
118
131
|
mimeType: import("convex/values").VString<string, "required">;
|
|
119
132
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
120
|
-
|
|
133
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
134
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename">], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "image" | "mimeType" | "data" | "filename">, "required">], "required", never>;
|
|
121
135
|
export declare const vReasoningPart: import("convex/values").VObject<{
|
|
122
136
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
137
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
123
138
|
signature?: string | undefined;
|
|
124
139
|
type: "reasoning";
|
|
125
140
|
text: string;
|
|
@@ -128,18 +143,22 @@ export declare const vReasoningPart: import("convex/values").VObject<{
|
|
|
128
143
|
text: import("convex/values").VString<string, "required">;
|
|
129
144
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
130
145
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
131
|
-
|
|
146
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
147
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "signature">;
|
|
132
148
|
export declare const vRedactedReasoningPart: import("convex/values").VObject<{
|
|
133
149
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
150
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
134
151
|
type: "redacted-reasoning";
|
|
135
152
|
data: string;
|
|
136
153
|
}, {
|
|
137
154
|
type: import("convex/values").VLiteral<"redacted-reasoning", "required">;
|
|
138
155
|
data: import("convex/values").VString<string, "required">;
|
|
139
156
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
140
|
-
|
|
157
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
158
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "data">;
|
|
141
159
|
export declare const vReasoningDetails: import("convex/values").VArray<({
|
|
142
160
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
161
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
143
162
|
signature?: string | undefined;
|
|
144
163
|
type: "reasoning";
|
|
145
164
|
text: string;
|
|
@@ -152,6 +171,7 @@ export declare const vReasoningDetails: import("convex/values").VArray<({
|
|
|
152
171
|
data: string;
|
|
153
172
|
})[], import("convex/values").VUnion<{
|
|
154
173
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
174
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
155
175
|
signature?: string | undefined;
|
|
156
176
|
type: "reasoning";
|
|
157
177
|
text: string;
|
|
@@ -164,6 +184,7 @@ export declare const vReasoningDetails: import("convex/values").VArray<({
|
|
|
164
184
|
data: string;
|
|
165
185
|
}, [import("convex/values").VObject<{
|
|
166
186
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
187
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
167
188
|
signature?: string | undefined;
|
|
168
189
|
type: "reasoning";
|
|
169
190
|
text: string;
|
|
@@ -172,7 +193,8 @@ export declare const vReasoningDetails: import("convex/values").VArray<({
|
|
|
172
193
|
text: import("convex/values").VString<string, "required">;
|
|
173
194
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
174
195
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
175
|
-
|
|
196
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
197
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "signature">, import("convex/values").VObject<{
|
|
176
198
|
signature?: string | undefined;
|
|
177
199
|
type: "text";
|
|
178
200
|
text: string;
|
|
@@ -186,9 +208,10 @@ export declare const vReasoningDetails: import("convex/values").VArray<({
|
|
|
186
208
|
}, {
|
|
187
209
|
type: import("convex/values").VLiteral<"redacted", "required">;
|
|
188
210
|
data: import("convex/values").VString<string, "required">;
|
|
189
|
-
}, "required", "type" | "data">], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "data" | "signature">, "required">;
|
|
211
|
+
}, "required", "type" | "data">], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "data" | "signature">, "required">;
|
|
190
212
|
export declare const vToolCallPart: import("convex/values").VObject<{
|
|
191
213
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
214
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
192
215
|
providerExecuted?: boolean | undefined;
|
|
193
216
|
type: "tool-call";
|
|
194
217
|
toolCallId: string;
|
|
@@ -201,9 +224,11 @@ export declare const vToolCallPart: import("convex/values").VObject<{
|
|
|
201
224
|
args: import("convex/values").VAny<any, "required", string>;
|
|
202
225
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
203
226
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
204
|
-
|
|
227
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
228
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}`>;
|
|
205
229
|
export declare const vToolResultPart: import("convex/values").VObject<{
|
|
206
230
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
231
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
207
232
|
args?: any;
|
|
208
233
|
providerExecuted?: boolean | undefined;
|
|
209
234
|
isError?: boolean | undefined;
|
|
@@ -225,6 +250,7 @@ export declare const vToolResultPart: import("convex/values").VObject<{
|
|
|
225
250
|
toolName: import("convex/values").VString<string, "required">;
|
|
226
251
|
result: import("convex/values").VAny<any, "required", string>;
|
|
227
252
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
253
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
228
254
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
229
255
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
230
256
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
@@ -257,9 +283,10 @@ export declare const vToolResultPart: import("convex/values").VObject<{
|
|
|
257
283
|
data: import("convex/values").VString<string, "required">;
|
|
258
284
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
259
285
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
260
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>;
|
|
286
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>;
|
|
261
287
|
export declare const vToolContent: import("convex/values").VArray<{
|
|
262
288
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
289
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
263
290
|
args?: any;
|
|
264
291
|
providerExecuted?: boolean | undefined;
|
|
265
292
|
isError?: boolean | undefined;
|
|
@@ -277,6 +304,7 @@ export declare const vToolContent: import("convex/values").VArray<{
|
|
|
277
304
|
result: any;
|
|
278
305
|
}[], import("convex/values").VObject<{
|
|
279
306
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
307
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
280
308
|
args?: any;
|
|
281
309
|
providerExecuted?: boolean | undefined;
|
|
282
310
|
isError?: boolean | undefined;
|
|
@@ -298,6 +326,7 @@ export declare const vToolContent: import("convex/values").VArray<{
|
|
|
298
326
|
toolName: import("convex/values").VString<string, "required">;
|
|
299
327
|
result: import("convex/values").VAny<any, "required", string>;
|
|
300
328
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
329
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
301
330
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
302
331
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
303
332
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
@@ -330,28 +359,33 @@ export declare const vToolContent: import("convex/values").VArray<{
|
|
|
330
359
|
data: import("convex/values").VString<string, "required">;
|
|
331
360
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
332
361
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
333
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">;
|
|
362
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">;
|
|
334
363
|
export declare const vAssistantContent: import("convex/values").VUnion<string | ({
|
|
335
364
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
365
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
336
366
|
type: "text";
|
|
337
367
|
text: string;
|
|
338
368
|
} | {
|
|
339
369
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
370
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
340
371
|
filename?: string | undefined;
|
|
341
372
|
type: "file";
|
|
342
373
|
mimeType: string;
|
|
343
374
|
data: string | ArrayBuffer;
|
|
344
375
|
} | {
|
|
345
376
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
377
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
346
378
|
signature?: string | undefined;
|
|
347
379
|
type: "reasoning";
|
|
348
380
|
text: string;
|
|
349
381
|
} | {
|
|
350
382
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
383
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
351
384
|
type: "redacted-reasoning";
|
|
352
385
|
data: string;
|
|
353
386
|
} | {
|
|
354
387
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
388
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
355
389
|
providerExecuted?: boolean | undefined;
|
|
356
390
|
type: "tool-call";
|
|
357
391
|
toolCallId: string;
|
|
@@ -359,6 +393,7 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
|
|
|
359
393
|
args: any;
|
|
360
394
|
} | {
|
|
361
395
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
396
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
362
397
|
args?: any;
|
|
363
398
|
providerExecuted?: boolean | undefined;
|
|
364
399
|
isError?: boolean | undefined;
|
|
@@ -376,25 +411,30 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
|
|
|
376
411
|
result: any;
|
|
377
412
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
378
413
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
414
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
379
415
|
type: "text";
|
|
380
416
|
text: string;
|
|
381
417
|
} | {
|
|
382
418
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
419
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
383
420
|
filename?: string | undefined;
|
|
384
421
|
type: "file";
|
|
385
422
|
mimeType: string;
|
|
386
423
|
data: string | ArrayBuffer;
|
|
387
424
|
} | {
|
|
388
425
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
426
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
389
427
|
signature?: string | undefined;
|
|
390
428
|
type: "reasoning";
|
|
391
429
|
text: string;
|
|
392
430
|
} | {
|
|
393
431
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
432
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
394
433
|
type: "redacted-reasoning";
|
|
395
434
|
data: string;
|
|
396
435
|
} | {
|
|
397
436
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
437
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
398
438
|
providerExecuted?: boolean | undefined;
|
|
399
439
|
type: "tool-call";
|
|
400
440
|
toolCallId: string;
|
|
@@ -402,6 +442,7 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
|
|
|
402
442
|
args: any;
|
|
403
443
|
} | {
|
|
404
444
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
445
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
405
446
|
args?: any;
|
|
406
447
|
providerExecuted?: boolean | undefined;
|
|
407
448
|
isError?: boolean | undefined;
|
|
@@ -419,25 +460,30 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
|
|
|
419
460
|
result: any;
|
|
420
461
|
})[], import("convex/values").VUnion<{
|
|
421
462
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
463
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
422
464
|
type: "text";
|
|
423
465
|
text: string;
|
|
424
466
|
} | {
|
|
425
467
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
468
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
426
469
|
filename?: string | undefined;
|
|
427
470
|
type: "file";
|
|
428
471
|
mimeType: string;
|
|
429
472
|
data: string | ArrayBuffer;
|
|
430
473
|
} | {
|
|
431
474
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
475
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
432
476
|
signature?: string | undefined;
|
|
433
477
|
type: "reasoning";
|
|
434
478
|
text: string;
|
|
435
479
|
} | {
|
|
436
480
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
481
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
437
482
|
type: "redacted-reasoning";
|
|
438
483
|
data: string;
|
|
439
484
|
} | {
|
|
440
485
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
486
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
441
487
|
providerExecuted?: boolean | undefined;
|
|
442
488
|
type: "tool-call";
|
|
443
489
|
toolCallId: string;
|
|
@@ -445,6 +491,7 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
|
|
|
445
491
|
args: any;
|
|
446
492
|
} | {
|
|
447
493
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
494
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
448
495
|
args?: any;
|
|
449
496
|
providerExecuted?: boolean | undefined;
|
|
450
497
|
isError?: boolean | undefined;
|
|
@@ -462,14 +509,17 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
|
|
|
462
509
|
result: any;
|
|
463
510
|
}, [import("convex/values").VObject<{
|
|
464
511
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
512
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
465
513
|
type: "text";
|
|
466
514
|
text: string;
|
|
467
515
|
}, {
|
|
468
516
|
type: import("convex/values").VLiteral<"text", "required">;
|
|
469
517
|
text: import("convex/values").VString<string, "required">;
|
|
470
518
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
471
|
-
|
|
519
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
520
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}`>, import("convex/values").VObject<{
|
|
472
521
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
522
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
473
523
|
filename?: string | undefined;
|
|
474
524
|
type: "file";
|
|
475
525
|
mimeType: string;
|
|
@@ -480,8 +530,10 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
|
|
|
480
530
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
481
531
|
mimeType: import("convex/values").VString<string, "required">;
|
|
482
532
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
483
|
-
|
|
533
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
534
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename">, import("convex/values").VObject<{
|
|
484
535
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
536
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
485
537
|
signature?: string | undefined;
|
|
486
538
|
type: "reasoning";
|
|
487
539
|
text: string;
|
|
@@ -490,16 +542,20 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
|
|
|
490
542
|
text: import("convex/values").VString<string, "required">;
|
|
491
543
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
492
544
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
493
|
-
|
|
545
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
546
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "signature">, import("convex/values").VObject<{
|
|
494
547
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
548
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
495
549
|
type: "redacted-reasoning";
|
|
496
550
|
data: string;
|
|
497
551
|
}, {
|
|
498
552
|
type: import("convex/values").VLiteral<"redacted-reasoning", "required">;
|
|
499
553
|
data: import("convex/values").VString<string, "required">;
|
|
500
554
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
501
|
-
|
|
555
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
556
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "data">, import("convex/values").VObject<{
|
|
502
557
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
558
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
503
559
|
providerExecuted?: boolean | undefined;
|
|
504
560
|
type: "tool-call";
|
|
505
561
|
toolCallId: string;
|
|
@@ -512,8 +568,10 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
|
|
|
512
568
|
args: import("convex/values").VAny<any, "required", string>;
|
|
513
569
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
514
570
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
515
|
-
|
|
571
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
572
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}`>, import("convex/values").VObject<{
|
|
516
573
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
574
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
517
575
|
args?: any;
|
|
518
576
|
providerExecuted?: boolean | undefined;
|
|
519
577
|
isError?: boolean | undefined;
|
|
@@ -535,6 +593,7 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
|
|
|
535
593
|
toolName: import("convex/values").VString<string, "required">;
|
|
536
594
|
result: import("convex/values").VAny<any, "required", string>;
|
|
537
595
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
596
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
538
597
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
539
598
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
540
599
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
@@ -567,9 +626,10 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
|
|
|
567
626
|
data: import("convex/values").VString<string, "required">;
|
|
568
627
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
569
628
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
570
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
629
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
571
630
|
export declare const vContent: import("convex/values").VUnion<string | ({
|
|
572
631
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
632
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
573
633
|
type: "text";
|
|
574
634
|
text: string;
|
|
575
635
|
} | {
|
|
@@ -579,31 +639,37 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
579
639
|
image: string | ArrayBuffer;
|
|
580
640
|
} | {
|
|
581
641
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
642
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
582
643
|
filename?: string | undefined;
|
|
583
644
|
type: "file";
|
|
584
645
|
mimeType: string;
|
|
585
646
|
data: string | ArrayBuffer;
|
|
586
647
|
})[] | ({
|
|
587
648
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
649
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
588
650
|
type: "text";
|
|
589
651
|
text: string;
|
|
590
652
|
} | {
|
|
591
653
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
654
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
592
655
|
filename?: string | undefined;
|
|
593
656
|
type: "file";
|
|
594
657
|
mimeType: string;
|
|
595
658
|
data: string | ArrayBuffer;
|
|
596
659
|
} | {
|
|
597
660
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
661
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
598
662
|
signature?: string | undefined;
|
|
599
663
|
type: "reasoning";
|
|
600
664
|
text: string;
|
|
601
665
|
} | {
|
|
602
666
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
667
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
603
668
|
type: "redacted-reasoning";
|
|
604
669
|
data: string;
|
|
605
670
|
} | {
|
|
606
671
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
672
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
607
673
|
providerExecuted?: boolean | undefined;
|
|
608
674
|
type: "tool-call";
|
|
609
675
|
toolCallId: string;
|
|
@@ -611,6 +677,7 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
611
677
|
args: any;
|
|
612
678
|
} | {
|
|
613
679
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
680
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
614
681
|
args?: any;
|
|
615
682
|
providerExecuted?: boolean | undefined;
|
|
616
683
|
isError?: boolean | undefined;
|
|
@@ -628,6 +695,7 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
628
695
|
result: any;
|
|
629
696
|
})[] | {
|
|
630
697
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
698
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
631
699
|
args?: any;
|
|
632
700
|
providerExecuted?: boolean | undefined;
|
|
633
701
|
isError?: boolean | undefined;
|
|
@@ -645,6 +713,7 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
645
713
|
result: any;
|
|
646
714
|
}[], [import("convex/values").VUnion<string | ({
|
|
647
715
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
716
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
648
717
|
type: "text";
|
|
649
718
|
text: string;
|
|
650
719
|
} | {
|
|
@@ -654,12 +723,14 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
654
723
|
image: string | ArrayBuffer;
|
|
655
724
|
} | {
|
|
656
725
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
726
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
657
727
|
filename?: string | undefined;
|
|
658
728
|
type: "file";
|
|
659
729
|
mimeType: string;
|
|
660
730
|
data: string | ArrayBuffer;
|
|
661
731
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
662
732
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
733
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
663
734
|
type: "text";
|
|
664
735
|
text: string;
|
|
665
736
|
} | {
|
|
@@ -669,12 +740,14 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
669
740
|
image: string | ArrayBuffer;
|
|
670
741
|
} | {
|
|
671
742
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
743
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
672
744
|
filename?: string | undefined;
|
|
673
745
|
type: "file";
|
|
674
746
|
mimeType: string;
|
|
675
747
|
data: string | ArrayBuffer;
|
|
676
748
|
})[], import("convex/values").VUnion<{
|
|
677
749
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
750
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
678
751
|
type: "text";
|
|
679
752
|
text: string;
|
|
680
753
|
} | {
|
|
@@ -684,19 +757,22 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
684
757
|
image: string | ArrayBuffer;
|
|
685
758
|
} | {
|
|
686
759
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
760
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
687
761
|
filename?: string | undefined;
|
|
688
762
|
type: "file";
|
|
689
763
|
mimeType: string;
|
|
690
764
|
data: string | ArrayBuffer;
|
|
691
765
|
}, [import("convex/values").VObject<{
|
|
692
766
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
767
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
693
768
|
type: "text";
|
|
694
769
|
text: string;
|
|
695
770
|
}, {
|
|
696
771
|
type: import("convex/values").VLiteral<"text", "required">;
|
|
697
772
|
text: import("convex/values").VString<string, "required">;
|
|
698
773
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
699
|
-
|
|
774
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
775
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}`>, import("convex/values").VObject<{
|
|
700
776
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
701
777
|
mimeType?: string | undefined;
|
|
702
778
|
type: "image";
|
|
@@ -708,6 +784,7 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
708
784
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
709
785
|
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "image" | "mimeType">, import("convex/values").VObject<{
|
|
710
786
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
787
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
711
788
|
filename?: string | undefined;
|
|
712
789
|
type: "file";
|
|
713
790
|
mimeType: string;
|
|
@@ -718,27 +795,33 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
718
795
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
719
796
|
mimeType: import("convex/values").VString<string, "required">;
|
|
720
797
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
721
|
-
|
|
798
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
799
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename">], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "image" | "mimeType" | "data" | "filename">, "required">], "required", never>, import("convex/values").VUnion<string | ({
|
|
722
800
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
801
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
723
802
|
type: "text";
|
|
724
803
|
text: string;
|
|
725
804
|
} | {
|
|
726
805
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
806
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
727
807
|
filename?: string | undefined;
|
|
728
808
|
type: "file";
|
|
729
809
|
mimeType: string;
|
|
730
810
|
data: string | ArrayBuffer;
|
|
731
811
|
} | {
|
|
732
812
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
813
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
733
814
|
signature?: string | undefined;
|
|
734
815
|
type: "reasoning";
|
|
735
816
|
text: string;
|
|
736
817
|
} | {
|
|
737
818
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
819
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
738
820
|
type: "redacted-reasoning";
|
|
739
821
|
data: string;
|
|
740
822
|
} | {
|
|
741
823
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
824
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
742
825
|
providerExecuted?: boolean | undefined;
|
|
743
826
|
type: "tool-call";
|
|
744
827
|
toolCallId: string;
|
|
@@ -746,6 +829,7 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
746
829
|
args: any;
|
|
747
830
|
} | {
|
|
748
831
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
832
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
749
833
|
args?: any;
|
|
750
834
|
providerExecuted?: boolean | undefined;
|
|
751
835
|
isError?: boolean | undefined;
|
|
@@ -763,25 +847,30 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
763
847
|
result: any;
|
|
764
848
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
765
849
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
850
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
766
851
|
type: "text";
|
|
767
852
|
text: string;
|
|
768
853
|
} | {
|
|
769
854
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
855
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
770
856
|
filename?: string | undefined;
|
|
771
857
|
type: "file";
|
|
772
858
|
mimeType: string;
|
|
773
859
|
data: string | ArrayBuffer;
|
|
774
860
|
} | {
|
|
775
861
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
862
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
776
863
|
signature?: string | undefined;
|
|
777
864
|
type: "reasoning";
|
|
778
865
|
text: string;
|
|
779
866
|
} | {
|
|
780
867
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
868
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
781
869
|
type: "redacted-reasoning";
|
|
782
870
|
data: string;
|
|
783
871
|
} | {
|
|
784
872
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
873
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
785
874
|
providerExecuted?: boolean | undefined;
|
|
786
875
|
type: "tool-call";
|
|
787
876
|
toolCallId: string;
|
|
@@ -789,6 +878,7 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
789
878
|
args: any;
|
|
790
879
|
} | {
|
|
791
880
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
881
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
792
882
|
args?: any;
|
|
793
883
|
providerExecuted?: boolean | undefined;
|
|
794
884
|
isError?: boolean | undefined;
|
|
@@ -806,25 +896,30 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
806
896
|
result: any;
|
|
807
897
|
})[], import("convex/values").VUnion<{
|
|
808
898
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
899
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
809
900
|
type: "text";
|
|
810
901
|
text: string;
|
|
811
902
|
} | {
|
|
812
903
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
904
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
813
905
|
filename?: string | undefined;
|
|
814
906
|
type: "file";
|
|
815
907
|
mimeType: string;
|
|
816
908
|
data: string | ArrayBuffer;
|
|
817
909
|
} | {
|
|
818
910
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
911
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
819
912
|
signature?: string | undefined;
|
|
820
913
|
type: "reasoning";
|
|
821
914
|
text: string;
|
|
822
915
|
} | {
|
|
823
916
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
917
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
824
918
|
type: "redacted-reasoning";
|
|
825
919
|
data: string;
|
|
826
920
|
} | {
|
|
827
921
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
922
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
828
923
|
providerExecuted?: boolean | undefined;
|
|
829
924
|
type: "tool-call";
|
|
830
925
|
toolCallId: string;
|
|
@@ -832,6 +927,7 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
832
927
|
args: any;
|
|
833
928
|
} | {
|
|
834
929
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
930
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
835
931
|
args?: any;
|
|
836
932
|
providerExecuted?: boolean | undefined;
|
|
837
933
|
isError?: boolean | undefined;
|
|
@@ -849,14 +945,17 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
849
945
|
result: any;
|
|
850
946
|
}, [import("convex/values").VObject<{
|
|
851
947
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
948
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
852
949
|
type: "text";
|
|
853
950
|
text: string;
|
|
854
951
|
}, {
|
|
855
952
|
type: import("convex/values").VLiteral<"text", "required">;
|
|
856
953
|
text: import("convex/values").VString<string, "required">;
|
|
857
954
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
858
|
-
|
|
955
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
956
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}`>, import("convex/values").VObject<{
|
|
859
957
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
958
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
860
959
|
filename?: string | undefined;
|
|
861
960
|
type: "file";
|
|
862
961
|
mimeType: string;
|
|
@@ -867,8 +966,10 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
867
966
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
868
967
|
mimeType: import("convex/values").VString<string, "required">;
|
|
869
968
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
870
|
-
|
|
969
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
970
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename">, import("convex/values").VObject<{
|
|
871
971
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
972
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
872
973
|
signature?: string | undefined;
|
|
873
974
|
type: "reasoning";
|
|
874
975
|
text: string;
|
|
@@ -877,16 +978,20 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
877
978
|
text: import("convex/values").VString<string, "required">;
|
|
878
979
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
879
980
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
880
|
-
|
|
981
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
982
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "signature">, import("convex/values").VObject<{
|
|
881
983
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
984
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
882
985
|
type: "redacted-reasoning";
|
|
883
986
|
data: string;
|
|
884
987
|
}, {
|
|
885
988
|
type: import("convex/values").VLiteral<"redacted-reasoning", "required">;
|
|
886
989
|
data: import("convex/values").VString<string, "required">;
|
|
887
990
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
888
|
-
|
|
991
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
992
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "data">, import("convex/values").VObject<{
|
|
889
993
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
994
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
890
995
|
providerExecuted?: boolean | undefined;
|
|
891
996
|
type: "tool-call";
|
|
892
997
|
toolCallId: string;
|
|
@@ -899,8 +1004,10 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
899
1004
|
args: import("convex/values").VAny<any, "required", string>;
|
|
900
1005
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
901
1006
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
902
|
-
|
|
1007
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1008
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}`>, import("convex/values").VObject<{
|
|
903
1009
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1010
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
904
1011
|
args?: any;
|
|
905
1012
|
providerExecuted?: boolean | undefined;
|
|
906
1013
|
isError?: boolean | undefined;
|
|
@@ -922,6 +1029,7 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
922
1029
|
toolName: import("convex/values").VString<string, "required">;
|
|
923
1030
|
result: import("convex/values").VAny<any, "required", string>;
|
|
924
1031
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1032
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
925
1033
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
926
1034
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
927
1035
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
@@ -954,8 +1062,9 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
954
1062
|
data: import("convex/values").VString<string, "required">;
|
|
955
1063
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
956
1064
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
957
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>, import("convex/values").VArray<{
|
|
1065
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>, import("convex/values").VArray<{
|
|
958
1066
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1067
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
959
1068
|
args?: any;
|
|
960
1069
|
providerExecuted?: boolean | undefined;
|
|
961
1070
|
isError?: boolean | undefined;
|
|
@@ -973,6 +1082,7 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
973
1082
|
result: any;
|
|
974
1083
|
}[], import("convex/values").VObject<{
|
|
975
1084
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1085
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
976
1086
|
args?: any;
|
|
977
1087
|
providerExecuted?: boolean | undefined;
|
|
978
1088
|
isError?: boolean | undefined;
|
|
@@ -994,6 +1104,7 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
994
1104
|
toolName: import("convex/values").VString<string, "required">;
|
|
995
1105
|
result: import("convex/values").VAny<any, "required", string>;
|
|
996
1106
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1107
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
997
1108
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
998
1109
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
999
1110
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
@@ -1026,13 +1137,14 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
1026
1137
|
data: import("convex/values").VString<string, "required">;
|
|
1027
1138
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
1028
1139
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
1029
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
1140
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
1030
1141
|
export type Content = Infer<typeof vContent>;
|
|
1031
1142
|
export declare const vUserMessage: import("convex/values").VObject<{
|
|
1032
1143
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1033
1144
|
role: "user";
|
|
1034
1145
|
content: string | ({
|
|
1035
1146
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1147
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1036
1148
|
type: "text";
|
|
1037
1149
|
text: string;
|
|
1038
1150
|
} | {
|
|
@@ -1042,6 +1154,7 @@ export declare const vUserMessage: import("convex/values").VObject<{
|
|
|
1042
1154
|
image: string | ArrayBuffer;
|
|
1043
1155
|
} | {
|
|
1044
1156
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1157
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1045
1158
|
filename?: string | undefined;
|
|
1046
1159
|
type: "file";
|
|
1047
1160
|
mimeType: string;
|
|
@@ -1051,6 +1164,7 @@ export declare const vUserMessage: import("convex/values").VObject<{
|
|
|
1051
1164
|
role: import("convex/values").VLiteral<"user", "required">;
|
|
1052
1165
|
content: import("convex/values").VUnion<string | ({
|
|
1053
1166
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1167
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1054
1168
|
type: "text";
|
|
1055
1169
|
text: string;
|
|
1056
1170
|
} | {
|
|
@@ -1060,12 +1174,14 @@ export declare const vUserMessage: import("convex/values").VObject<{
|
|
|
1060
1174
|
image: string | ArrayBuffer;
|
|
1061
1175
|
} | {
|
|
1062
1176
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1177
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1063
1178
|
filename?: string | undefined;
|
|
1064
1179
|
type: "file";
|
|
1065
1180
|
mimeType: string;
|
|
1066
1181
|
data: string | ArrayBuffer;
|
|
1067
1182
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
1068
1183
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1184
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1069
1185
|
type: "text";
|
|
1070
1186
|
text: string;
|
|
1071
1187
|
} | {
|
|
@@ -1075,12 +1191,14 @@ export declare const vUserMessage: import("convex/values").VObject<{
|
|
|
1075
1191
|
image: string | ArrayBuffer;
|
|
1076
1192
|
} | {
|
|
1077
1193
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1194
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1078
1195
|
filename?: string | undefined;
|
|
1079
1196
|
type: "file";
|
|
1080
1197
|
mimeType: string;
|
|
1081
1198
|
data: string | ArrayBuffer;
|
|
1082
1199
|
})[], import("convex/values").VUnion<{
|
|
1083
1200
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1201
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1084
1202
|
type: "text";
|
|
1085
1203
|
text: string;
|
|
1086
1204
|
} | {
|
|
@@ -1090,19 +1208,22 @@ export declare const vUserMessage: import("convex/values").VObject<{
|
|
|
1090
1208
|
image: string | ArrayBuffer;
|
|
1091
1209
|
} | {
|
|
1092
1210
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1211
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1093
1212
|
filename?: string | undefined;
|
|
1094
1213
|
type: "file";
|
|
1095
1214
|
mimeType: string;
|
|
1096
1215
|
data: string | ArrayBuffer;
|
|
1097
1216
|
}, [import("convex/values").VObject<{
|
|
1098
1217
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1218
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1099
1219
|
type: "text";
|
|
1100
1220
|
text: string;
|
|
1101
1221
|
}, {
|
|
1102
1222
|
type: import("convex/values").VLiteral<"text", "required">;
|
|
1103
1223
|
text: import("convex/values").VString<string, "required">;
|
|
1104
1224
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1105
|
-
|
|
1225
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1226
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}`>, import("convex/values").VObject<{
|
|
1106
1227
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1107
1228
|
mimeType?: string | undefined;
|
|
1108
1229
|
type: "image";
|
|
@@ -1114,6 +1235,7 @@ export declare const vUserMessage: import("convex/values").VObject<{
|
|
|
1114
1235
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1115
1236
|
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "image" | "mimeType">, import("convex/values").VObject<{
|
|
1116
1237
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1238
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1117
1239
|
filename?: string | undefined;
|
|
1118
1240
|
type: "file";
|
|
1119
1241
|
mimeType: string;
|
|
@@ -1124,7 +1246,8 @@ export declare const vUserMessage: import("convex/values").VObject<{
|
|
|
1124
1246
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
1125
1247
|
mimeType: import("convex/values").VString<string, "required">;
|
|
1126
1248
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1127
|
-
|
|
1249
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1250
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename">], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "image" | "mimeType" | "data" | "filename">, "required">], "required", never>;
|
|
1128
1251
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1129
1252
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">;
|
|
1130
1253
|
export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
@@ -1132,25 +1255,30 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
1132
1255
|
role: "assistant";
|
|
1133
1256
|
content: string | ({
|
|
1134
1257
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1258
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1135
1259
|
type: "text";
|
|
1136
1260
|
text: string;
|
|
1137
1261
|
} | {
|
|
1138
1262
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1263
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1139
1264
|
filename?: string | undefined;
|
|
1140
1265
|
type: "file";
|
|
1141
1266
|
mimeType: string;
|
|
1142
1267
|
data: string | ArrayBuffer;
|
|
1143
1268
|
} | {
|
|
1144
1269
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1270
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1145
1271
|
signature?: string | undefined;
|
|
1146
1272
|
type: "reasoning";
|
|
1147
1273
|
text: string;
|
|
1148
1274
|
} | {
|
|
1149
1275
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1276
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1150
1277
|
type: "redacted-reasoning";
|
|
1151
1278
|
data: string;
|
|
1152
1279
|
} | {
|
|
1153
1280
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1281
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1154
1282
|
providerExecuted?: boolean | undefined;
|
|
1155
1283
|
type: "tool-call";
|
|
1156
1284
|
toolCallId: string;
|
|
@@ -1158,6 +1286,7 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
1158
1286
|
args: any;
|
|
1159
1287
|
} | {
|
|
1160
1288
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1289
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1161
1290
|
args?: any;
|
|
1162
1291
|
providerExecuted?: boolean | undefined;
|
|
1163
1292
|
isError?: boolean | undefined;
|
|
@@ -1178,25 +1307,30 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
1178
1307
|
role: import("convex/values").VLiteral<"assistant", "required">;
|
|
1179
1308
|
content: import("convex/values").VUnion<string | ({
|
|
1180
1309
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1310
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1181
1311
|
type: "text";
|
|
1182
1312
|
text: string;
|
|
1183
1313
|
} | {
|
|
1184
1314
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1315
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1185
1316
|
filename?: string | undefined;
|
|
1186
1317
|
type: "file";
|
|
1187
1318
|
mimeType: string;
|
|
1188
1319
|
data: string | ArrayBuffer;
|
|
1189
1320
|
} | {
|
|
1190
1321
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1322
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1191
1323
|
signature?: string | undefined;
|
|
1192
1324
|
type: "reasoning";
|
|
1193
1325
|
text: string;
|
|
1194
1326
|
} | {
|
|
1195
1327
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1328
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1196
1329
|
type: "redacted-reasoning";
|
|
1197
1330
|
data: string;
|
|
1198
1331
|
} | {
|
|
1199
1332
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1333
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1200
1334
|
providerExecuted?: boolean | undefined;
|
|
1201
1335
|
type: "tool-call";
|
|
1202
1336
|
toolCallId: string;
|
|
@@ -1204,6 +1338,7 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
1204
1338
|
args: any;
|
|
1205
1339
|
} | {
|
|
1206
1340
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1341
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1207
1342
|
args?: any;
|
|
1208
1343
|
providerExecuted?: boolean | undefined;
|
|
1209
1344
|
isError?: boolean | undefined;
|
|
@@ -1221,25 +1356,30 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
1221
1356
|
result: any;
|
|
1222
1357
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
1223
1358
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1359
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1224
1360
|
type: "text";
|
|
1225
1361
|
text: string;
|
|
1226
1362
|
} | {
|
|
1227
1363
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1364
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1228
1365
|
filename?: string | undefined;
|
|
1229
1366
|
type: "file";
|
|
1230
1367
|
mimeType: string;
|
|
1231
1368
|
data: string | ArrayBuffer;
|
|
1232
1369
|
} | {
|
|
1233
1370
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1371
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1234
1372
|
signature?: string | undefined;
|
|
1235
1373
|
type: "reasoning";
|
|
1236
1374
|
text: string;
|
|
1237
1375
|
} | {
|
|
1238
1376
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1377
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1239
1378
|
type: "redacted-reasoning";
|
|
1240
1379
|
data: string;
|
|
1241
1380
|
} | {
|
|
1242
1381
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1382
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1243
1383
|
providerExecuted?: boolean | undefined;
|
|
1244
1384
|
type: "tool-call";
|
|
1245
1385
|
toolCallId: string;
|
|
@@ -1247,6 +1387,7 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
1247
1387
|
args: any;
|
|
1248
1388
|
} | {
|
|
1249
1389
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1390
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1250
1391
|
args?: any;
|
|
1251
1392
|
providerExecuted?: boolean | undefined;
|
|
1252
1393
|
isError?: boolean | undefined;
|
|
@@ -1264,25 +1405,30 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
1264
1405
|
result: any;
|
|
1265
1406
|
})[], import("convex/values").VUnion<{
|
|
1266
1407
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1408
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1267
1409
|
type: "text";
|
|
1268
1410
|
text: string;
|
|
1269
1411
|
} | {
|
|
1270
1412
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1413
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1271
1414
|
filename?: string | undefined;
|
|
1272
1415
|
type: "file";
|
|
1273
1416
|
mimeType: string;
|
|
1274
1417
|
data: string | ArrayBuffer;
|
|
1275
1418
|
} | {
|
|
1276
1419
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1420
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1277
1421
|
signature?: string | undefined;
|
|
1278
1422
|
type: "reasoning";
|
|
1279
1423
|
text: string;
|
|
1280
1424
|
} | {
|
|
1281
1425
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1426
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1282
1427
|
type: "redacted-reasoning";
|
|
1283
1428
|
data: string;
|
|
1284
1429
|
} | {
|
|
1285
1430
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1431
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1286
1432
|
providerExecuted?: boolean | undefined;
|
|
1287
1433
|
type: "tool-call";
|
|
1288
1434
|
toolCallId: string;
|
|
@@ -1290,6 +1436,7 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
1290
1436
|
args: any;
|
|
1291
1437
|
} | {
|
|
1292
1438
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1439
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1293
1440
|
args?: any;
|
|
1294
1441
|
providerExecuted?: boolean | undefined;
|
|
1295
1442
|
isError?: boolean | undefined;
|
|
@@ -1307,14 +1454,17 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
1307
1454
|
result: any;
|
|
1308
1455
|
}, [import("convex/values").VObject<{
|
|
1309
1456
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1457
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1310
1458
|
type: "text";
|
|
1311
1459
|
text: string;
|
|
1312
1460
|
}, {
|
|
1313
1461
|
type: import("convex/values").VLiteral<"text", "required">;
|
|
1314
1462
|
text: import("convex/values").VString<string, "required">;
|
|
1315
1463
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1316
|
-
|
|
1464
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1465
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}`>, import("convex/values").VObject<{
|
|
1317
1466
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1467
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1318
1468
|
filename?: string | undefined;
|
|
1319
1469
|
type: "file";
|
|
1320
1470
|
mimeType: string;
|
|
@@ -1325,8 +1475,10 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
1325
1475
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
1326
1476
|
mimeType: import("convex/values").VString<string, "required">;
|
|
1327
1477
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1328
|
-
|
|
1478
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1479
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename">, import("convex/values").VObject<{
|
|
1329
1480
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1481
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1330
1482
|
signature?: string | undefined;
|
|
1331
1483
|
type: "reasoning";
|
|
1332
1484
|
text: string;
|
|
@@ -1335,16 +1487,20 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
1335
1487
|
text: import("convex/values").VString<string, "required">;
|
|
1336
1488
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
1337
1489
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1338
|
-
|
|
1490
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1491
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "signature">, import("convex/values").VObject<{
|
|
1339
1492
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1493
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1340
1494
|
type: "redacted-reasoning";
|
|
1341
1495
|
data: string;
|
|
1342
1496
|
}, {
|
|
1343
1497
|
type: import("convex/values").VLiteral<"redacted-reasoning", "required">;
|
|
1344
1498
|
data: import("convex/values").VString<string, "required">;
|
|
1345
1499
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1346
|
-
|
|
1500
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1501
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "data">, import("convex/values").VObject<{
|
|
1347
1502
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1503
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1348
1504
|
providerExecuted?: boolean | undefined;
|
|
1349
1505
|
type: "tool-call";
|
|
1350
1506
|
toolCallId: string;
|
|
@@ -1357,8 +1513,10 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
1357
1513
|
args: import("convex/values").VAny<any, "required", string>;
|
|
1358
1514
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
1359
1515
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1360
|
-
|
|
1516
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1517
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}`>, import("convex/values").VObject<{
|
|
1361
1518
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1519
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1362
1520
|
args?: any;
|
|
1363
1521
|
providerExecuted?: boolean | undefined;
|
|
1364
1522
|
isError?: boolean | undefined;
|
|
@@ -1380,6 +1538,7 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
1380
1538
|
toolName: import("convex/values").VString<string, "required">;
|
|
1381
1539
|
result: import("convex/values").VAny<any, "required", string>;
|
|
1382
1540
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1541
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1383
1542
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
1384
1543
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
1385
1544
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
@@ -1412,7 +1571,7 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
1412
1571
|
data: import("convex/values").VString<string, "required">;
|
|
1413
1572
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
1414
1573
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
1415
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
1574
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
1416
1575
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1417
1576
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">;
|
|
1418
1577
|
export declare const vToolMessage: import("convex/values").VObject<{
|
|
@@ -1420,6 +1579,7 @@ export declare const vToolMessage: import("convex/values").VObject<{
|
|
|
1420
1579
|
role: "tool";
|
|
1421
1580
|
content: {
|
|
1422
1581
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1582
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1423
1583
|
args?: any;
|
|
1424
1584
|
providerExecuted?: boolean | undefined;
|
|
1425
1585
|
isError?: boolean | undefined;
|
|
@@ -1440,6 +1600,7 @@ export declare const vToolMessage: import("convex/values").VObject<{
|
|
|
1440
1600
|
role: import("convex/values").VLiteral<"tool", "required">;
|
|
1441
1601
|
content: import("convex/values").VArray<{
|
|
1442
1602
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1603
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1443
1604
|
args?: any;
|
|
1444
1605
|
providerExecuted?: boolean | undefined;
|
|
1445
1606
|
isError?: boolean | undefined;
|
|
@@ -1457,6 +1618,7 @@ export declare const vToolMessage: import("convex/values").VObject<{
|
|
|
1457
1618
|
result: any;
|
|
1458
1619
|
}[], import("convex/values").VObject<{
|
|
1459
1620
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1621
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1460
1622
|
args?: any;
|
|
1461
1623
|
providerExecuted?: boolean | undefined;
|
|
1462
1624
|
isError?: boolean | undefined;
|
|
@@ -1478,6 +1640,7 @@ export declare const vToolMessage: import("convex/values").VObject<{
|
|
|
1478
1640
|
toolName: import("convex/values").VString<string, "required">;
|
|
1479
1641
|
result: import("convex/values").VAny<any, "required", string>;
|
|
1480
1642
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1643
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1481
1644
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
1482
1645
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
1483
1646
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
@@ -1510,7 +1673,7 @@ export declare const vToolMessage: import("convex/values").VObject<{
|
|
|
1510
1673
|
data: import("convex/values").VString<string, "required">;
|
|
1511
1674
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
1512
1675
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
1513
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">;
|
|
1676
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">;
|
|
1514
1677
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1515
1678
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">;
|
|
1516
1679
|
export declare const vSystemMessage: import("convex/values").VObject<{
|
|
@@ -1527,6 +1690,7 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1527
1690
|
role: "user";
|
|
1528
1691
|
content: string | ({
|
|
1529
1692
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1693
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1530
1694
|
type: "text";
|
|
1531
1695
|
text: string;
|
|
1532
1696
|
} | {
|
|
@@ -1536,6 +1700,7 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1536
1700
|
image: string | ArrayBuffer;
|
|
1537
1701
|
} | {
|
|
1538
1702
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1703
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1539
1704
|
filename?: string | undefined;
|
|
1540
1705
|
type: "file";
|
|
1541
1706
|
mimeType: string;
|
|
@@ -1546,25 +1711,30 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1546
1711
|
role: "assistant";
|
|
1547
1712
|
content: string | ({
|
|
1548
1713
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1714
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1549
1715
|
type: "text";
|
|
1550
1716
|
text: string;
|
|
1551
1717
|
} | {
|
|
1552
1718
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1719
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1553
1720
|
filename?: string | undefined;
|
|
1554
1721
|
type: "file";
|
|
1555
1722
|
mimeType: string;
|
|
1556
1723
|
data: string | ArrayBuffer;
|
|
1557
1724
|
} | {
|
|
1558
1725
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1726
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1559
1727
|
signature?: string | undefined;
|
|
1560
1728
|
type: "reasoning";
|
|
1561
1729
|
text: string;
|
|
1562
1730
|
} | {
|
|
1563
1731
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1732
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1564
1733
|
type: "redacted-reasoning";
|
|
1565
1734
|
data: string;
|
|
1566
1735
|
} | {
|
|
1567
1736
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1737
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1568
1738
|
providerExecuted?: boolean | undefined;
|
|
1569
1739
|
type: "tool-call";
|
|
1570
1740
|
toolCallId: string;
|
|
@@ -1572,6 +1742,7 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1572
1742
|
args: any;
|
|
1573
1743
|
} | {
|
|
1574
1744
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1745
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1575
1746
|
args?: any;
|
|
1576
1747
|
providerExecuted?: boolean | undefined;
|
|
1577
1748
|
isError?: boolean | undefined;
|
|
@@ -1593,6 +1764,7 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1593
1764
|
role: "tool";
|
|
1594
1765
|
content: {
|
|
1595
1766
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1767
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1596
1768
|
args?: any;
|
|
1597
1769
|
providerExecuted?: boolean | undefined;
|
|
1598
1770
|
isError?: boolean | undefined;
|
|
@@ -1618,6 +1790,7 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1618
1790
|
role: "user";
|
|
1619
1791
|
content: string | ({
|
|
1620
1792
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1793
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1621
1794
|
type: "text";
|
|
1622
1795
|
text: string;
|
|
1623
1796
|
} | {
|
|
@@ -1627,6 +1800,7 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1627
1800
|
image: string | ArrayBuffer;
|
|
1628
1801
|
} | {
|
|
1629
1802
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1803
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1630
1804
|
filename?: string | undefined;
|
|
1631
1805
|
type: "file";
|
|
1632
1806
|
mimeType: string;
|
|
@@ -1636,6 +1810,7 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1636
1810
|
role: import("convex/values").VLiteral<"user", "required">;
|
|
1637
1811
|
content: import("convex/values").VUnion<string | ({
|
|
1638
1812
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1813
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1639
1814
|
type: "text";
|
|
1640
1815
|
text: string;
|
|
1641
1816
|
} | {
|
|
@@ -1645,12 +1820,14 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1645
1820
|
image: string | ArrayBuffer;
|
|
1646
1821
|
} | {
|
|
1647
1822
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1823
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1648
1824
|
filename?: string | undefined;
|
|
1649
1825
|
type: "file";
|
|
1650
1826
|
mimeType: string;
|
|
1651
1827
|
data: string | ArrayBuffer;
|
|
1652
1828
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
1653
1829
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1830
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1654
1831
|
type: "text";
|
|
1655
1832
|
text: string;
|
|
1656
1833
|
} | {
|
|
@@ -1660,12 +1837,14 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1660
1837
|
image: string | ArrayBuffer;
|
|
1661
1838
|
} | {
|
|
1662
1839
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1840
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1663
1841
|
filename?: string | undefined;
|
|
1664
1842
|
type: "file";
|
|
1665
1843
|
mimeType: string;
|
|
1666
1844
|
data: string | ArrayBuffer;
|
|
1667
1845
|
})[], import("convex/values").VUnion<{
|
|
1668
1846
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1847
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1669
1848
|
type: "text";
|
|
1670
1849
|
text: string;
|
|
1671
1850
|
} | {
|
|
@@ -1675,19 +1854,22 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1675
1854
|
image: string | ArrayBuffer;
|
|
1676
1855
|
} | {
|
|
1677
1856
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1857
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1678
1858
|
filename?: string | undefined;
|
|
1679
1859
|
type: "file";
|
|
1680
1860
|
mimeType: string;
|
|
1681
1861
|
data: string | ArrayBuffer;
|
|
1682
1862
|
}, [import("convex/values").VObject<{
|
|
1683
1863
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1864
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1684
1865
|
type: "text";
|
|
1685
1866
|
text: string;
|
|
1686
1867
|
}, {
|
|
1687
1868
|
type: import("convex/values").VLiteral<"text", "required">;
|
|
1688
1869
|
text: import("convex/values").VString<string, "required">;
|
|
1689
1870
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1690
|
-
|
|
1871
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1872
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}`>, import("convex/values").VObject<{
|
|
1691
1873
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1692
1874
|
mimeType?: string | undefined;
|
|
1693
1875
|
type: "image";
|
|
@@ -1699,6 +1881,7 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1699
1881
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1700
1882
|
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "image" | "mimeType">, import("convex/values").VObject<{
|
|
1701
1883
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1884
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1702
1885
|
filename?: string | undefined;
|
|
1703
1886
|
type: "file";
|
|
1704
1887
|
mimeType: string;
|
|
@@ -1709,32 +1892,38 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1709
1892
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
1710
1893
|
mimeType: import("convex/values").VString<string, "required">;
|
|
1711
1894
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1712
|
-
|
|
1895
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1896
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename">], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "image" | "mimeType" | "data" | "filename">, "required">], "required", never>;
|
|
1713
1897
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1714
1898
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
1715
1899
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1716
1900
|
role: "assistant";
|
|
1717
1901
|
content: string | ({
|
|
1718
1902
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1903
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1719
1904
|
type: "text";
|
|
1720
1905
|
text: string;
|
|
1721
1906
|
} | {
|
|
1722
1907
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1908
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1723
1909
|
filename?: string | undefined;
|
|
1724
1910
|
type: "file";
|
|
1725
1911
|
mimeType: string;
|
|
1726
1912
|
data: string | ArrayBuffer;
|
|
1727
1913
|
} | {
|
|
1728
1914
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1915
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1729
1916
|
signature?: string | undefined;
|
|
1730
1917
|
type: "reasoning";
|
|
1731
1918
|
text: string;
|
|
1732
1919
|
} | {
|
|
1733
1920
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1921
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1734
1922
|
type: "redacted-reasoning";
|
|
1735
1923
|
data: string;
|
|
1736
1924
|
} | {
|
|
1737
1925
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1926
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1738
1927
|
providerExecuted?: boolean | undefined;
|
|
1739
1928
|
type: "tool-call";
|
|
1740
1929
|
toolCallId: string;
|
|
@@ -1742,6 +1931,7 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1742
1931
|
args: any;
|
|
1743
1932
|
} | {
|
|
1744
1933
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1934
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1745
1935
|
args?: any;
|
|
1746
1936
|
providerExecuted?: boolean | undefined;
|
|
1747
1937
|
isError?: boolean | undefined;
|
|
@@ -1762,25 +1952,30 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1762
1952
|
role: import("convex/values").VLiteral<"assistant", "required">;
|
|
1763
1953
|
content: import("convex/values").VUnion<string | ({
|
|
1764
1954
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1955
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1765
1956
|
type: "text";
|
|
1766
1957
|
text: string;
|
|
1767
1958
|
} | {
|
|
1768
1959
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1960
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1769
1961
|
filename?: string | undefined;
|
|
1770
1962
|
type: "file";
|
|
1771
1963
|
mimeType: string;
|
|
1772
1964
|
data: string | ArrayBuffer;
|
|
1773
1965
|
} | {
|
|
1774
1966
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1967
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1775
1968
|
signature?: string | undefined;
|
|
1776
1969
|
type: "reasoning";
|
|
1777
1970
|
text: string;
|
|
1778
1971
|
} | {
|
|
1779
1972
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1973
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1780
1974
|
type: "redacted-reasoning";
|
|
1781
1975
|
data: string;
|
|
1782
1976
|
} | {
|
|
1783
1977
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1978
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1784
1979
|
providerExecuted?: boolean | undefined;
|
|
1785
1980
|
type: "tool-call";
|
|
1786
1981
|
toolCallId: string;
|
|
@@ -1788,6 +1983,7 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1788
1983
|
args: any;
|
|
1789
1984
|
} | {
|
|
1790
1985
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1986
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1791
1987
|
args?: any;
|
|
1792
1988
|
providerExecuted?: boolean | undefined;
|
|
1793
1989
|
isError?: boolean | undefined;
|
|
@@ -1805,25 +2001,30 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1805
2001
|
result: any;
|
|
1806
2002
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
1807
2003
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2004
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1808
2005
|
type: "text";
|
|
1809
2006
|
text: string;
|
|
1810
2007
|
} | {
|
|
1811
2008
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2009
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1812
2010
|
filename?: string | undefined;
|
|
1813
2011
|
type: "file";
|
|
1814
2012
|
mimeType: string;
|
|
1815
2013
|
data: string | ArrayBuffer;
|
|
1816
2014
|
} | {
|
|
1817
2015
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2016
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1818
2017
|
signature?: string | undefined;
|
|
1819
2018
|
type: "reasoning";
|
|
1820
2019
|
text: string;
|
|
1821
2020
|
} | {
|
|
1822
2021
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2022
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1823
2023
|
type: "redacted-reasoning";
|
|
1824
2024
|
data: string;
|
|
1825
2025
|
} | {
|
|
1826
2026
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2027
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1827
2028
|
providerExecuted?: boolean | undefined;
|
|
1828
2029
|
type: "tool-call";
|
|
1829
2030
|
toolCallId: string;
|
|
@@ -1831,6 +2032,7 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1831
2032
|
args: any;
|
|
1832
2033
|
} | {
|
|
1833
2034
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2035
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1834
2036
|
args?: any;
|
|
1835
2037
|
providerExecuted?: boolean | undefined;
|
|
1836
2038
|
isError?: boolean | undefined;
|
|
@@ -1848,25 +2050,30 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1848
2050
|
result: any;
|
|
1849
2051
|
})[], import("convex/values").VUnion<{
|
|
1850
2052
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2053
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1851
2054
|
type: "text";
|
|
1852
2055
|
text: string;
|
|
1853
2056
|
} | {
|
|
1854
2057
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2058
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1855
2059
|
filename?: string | undefined;
|
|
1856
2060
|
type: "file";
|
|
1857
2061
|
mimeType: string;
|
|
1858
2062
|
data: string | ArrayBuffer;
|
|
1859
2063
|
} | {
|
|
1860
2064
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2065
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1861
2066
|
signature?: string | undefined;
|
|
1862
2067
|
type: "reasoning";
|
|
1863
2068
|
text: string;
|
|
1864
2069
|
} | {
|
|
1865
2070
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2071
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1866
2072
|
type: "redacted-reasoning";
|
|
1867
2073
|
data: string;
|
|
1868
2074
|
} | {
|
|
1869
2075
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2076
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1870
2077
|
providerExecuted?: boolean | undefined;
|
|
1871
2078
|
type: "tool-call";
|
|
1872
2079
|
toolCallId: string;
|
|
@@ -1874,6 +2081,7 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1874
2081
|
args: any;
|
|
1875
2082
|
} | {
|
|
1876
2083
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2084
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1877
2085
|
args?: any;
|
|
1878
2086
|
providerExecuted?: boolean | undefined;
|
|
1879
2087
|
isError?: boolean | undefined;
|
|
@@ -1891,14 +2099,17 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1891
2099
|
result: any;
|
|
1892
2100
|
}, [import("convex/values").VObject<{
|
|
1893
2101
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2102
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1894
2103
|
type: "text";
|
|
1895
2104
|
text: string;
|
|
1896
2105
|
}, {
|
|
1897
2106
|
type: import("convex/values").VLiteral<"text", "required">;
|
|
1898
2107
|
text: import("convex/values").VString<string, "required">;
|
|
1899
2108
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1900
|
-
|
|
2109
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2110
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}`>, import("convex/values").VObject<{
|
|
1901
2111
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2112
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1902
2113
|
filename?: string | undefined;
|
|
1903
2114
|
type: "file";
|
|
1904
2115
|
mimeType: string;
|
|
@@ -1909,8 +2120,10 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1909
2120
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
1910
2121
|
mimeType: import("convex/values").VString<string, "required">;
|
|
1911
2122
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1912
|
-
|
|
2123
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2124
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename">, import("convex/values").VObject<{
|
|
1913
2125
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2126
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1914
2127
|
signature?: string | undefined;
|
|
1915
2128
|
type: "reasoning";
|
|
1916
2129
|
text: string;
|
|
@@ -1919,16 +2132,20 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1919
2132
|
text: import("convex/values").VString<string, "required">;
|
|
1920
2133
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
1921
2134
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1922
|
-
|
|
2135
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2136
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "signature">, import("convex/values").VObject<{
|
|
1923
2137
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2138
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1924
2139
|
type: "redacted-reasoning";
|
|
1925
2140
|
data: string;
|
|
1926
2141
|
}, {
|
|
1927
2142
|
type: import("convex/values").VLiteral<"redacted-reasoning", "required">;
|
|
1928
2143
|
data: import("convex/values").VString<string, "required">;
|
|
1929
2144
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1930
|
-
|
|
2145
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2146
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "data">, import("convex/values").VObject<{
|
|
1931
2147
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2148
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1932
2149
|
providerExecuted?: boolean | undefined;
|
|
1933
2150
|
type: "tool-call";
|
|
1934
2151
|
toolCallId: string;
|
|
@@ -1941,8 +2158,10 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1941
2158
|
args: import("convex/values").VAny<any, "required", string>;
|
|
1942
2159
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
1943
2160
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1944
|
-
|
|
2161
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2162
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}`>, import("convex/values").VObject<{
|
|
1945
2163
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2164
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1946
2165
|
args?: any;
|
|
1947
2166
|
providerExecuted?: boolean | undefined;
|
|
1948
2167
|
isError?: boolean | undefined;
|
|
@@ -1964,6 +2183,7 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1964
2183
|
toolName: import("convex/values").VString<string, "required">;
|
|
1965
2184
|
result: import("convex/values").VAny<any, "required", string>;
|
|
1966
2185
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2186
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1967
2187
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
1968
2188
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
1969
2189
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
@@ -1996,13 +2216,14 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1996
2216
|
data: import("convex/values").VString<string, "required">;
|
|
1997
2217
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
1998
2218
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
1999
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
2219
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
2000
2220
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2001
2221
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
2002
2222
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2003
2223
|
role: "tool";
|
|
2004
2224
|
content: {
|
|
2005
2225
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2226
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2006
2227
|
args?: any;
|
|
2007
2228
|
providerExecuted?: boolean | undefined;
|
|
2008
2229
|
isError?: boolean | undefined;
|
|
@@ -2023,6 +2244,7 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
2023
2244
|
role: import("convex/values").VLiteral<"tool", "required">;
|
|
2024
2245
|
content: import("convex/values").VArray<{
|
|
2025
2246
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2247
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2026
2248
|
args?: any;
|
|
2027
2249
|
providerExecuted?: boolean | undefined;
|
|
2028
2250
|
isError?: boolean | undefined;
|
|
@@ -2040,6 +2262,7 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
2040
2262
|
result: any;
|
|
2041
2263
|
}[], import("convex/values").VObject<{
|
|
2042
2264
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2265
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2043
2266
|
args?: any;
|
|
2044
2267
|
providerExecuted?: boolean | undefined;
|
|
2045
2268
|
isError?: boolean | undefined;
|
|
@@ -2061,6 +2284,7 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
2061
2284
|
toolName: import("convex/values").VString<string, "required">;
|
|
2062
2285
|
result: import("convex/values").VAny<any, "required", string>;
|
|
2063
2286
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2287
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2064
2288
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
2065
2289
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
2066
2290
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
@@ -2093,7 +2317,7 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
2093
2317
|
data: import("convex/values").VString<string, "required">;
|
|
2094
2318
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
2095
2319
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
2096
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">;
|
|
2320
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">;
|
|
2097
2321
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2098
2322
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
2099
2323
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2109,12 +2333,14 @@ export declare const vSource: import("convex/values").VUnion<{
|
|
|
2109
2333
|
title?: string | undefined;
|
|
2110
2334
|
type?: "source" | undefined;
|
|
2111
2335
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2336
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2112
2337
|
id: string;
|
|
2113
2338
|
sourceType: "url";
|
|
2114
2339
|
url: string;
|
|
2115
2340
|
} | {
|
|
2116
|
-
|
|
2341
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2117
2342
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2343
|
+
filename?: string | undefined;
|
|
2118
2344
|
id: string;
|
|
2119
2345
|
title: string;
|
|
2120
2346
|
type: "source";
|
|
@@ -2124,6 +2350,7 @@ export declare const vSource: import("convex/values").VUnion<{
|
|
|
2124
2350
|
title?: string | undefined;
|
|
2125
2351
|
type?: "source" | undefined;
|
|
2126
2352
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2353
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2127
2354
|
id: string;
|
|
2128
2355
|
sourceType: "url";
|
|
2129
2356
|
url: string;
|
|
@@ -2134,9 +2361,11 @@ export declare const vSource: import("convex/values").VUnion<{
|
|
|
2134
2361
|
url: import("convex/values").VString<string, "required">;
|
|
2135
2362
|
title: import("convex/values").VString<string | undefined, "optional">;
|
|
2136
2363
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2137
|
-
|
|
2138
|
-
|
|
2364
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2365
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "sourceType" | "url">, import("convex/values").VObject<{
|
|
2366
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2139
2367
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2368
|
+
filename?: string | undefined;
|
|
2140
2369
|
id: string;
|
|
2141
2370
|
title: string;
|
|
2142
2371
|
type: "source";
|
|
@@ -2149,8 +2378,9 @@ export declare const vSource: import("convex/values").VUnion<{
|
|
|
2149
2378
|
mediaType: import("convex/values").VString<string, "required">;
|
|
2150
2379
|
title: import("convex/values").VString<string, "required">;
|
|
2151
2380
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
2381
|
+
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2152
2382
|
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2153
|
-
}, "required", "id" | "title" | "type" | "
|
|
2383
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "mediaType">], "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "url" | "mediaType">;
|
|
2154
2384
|
export declare const vRequest: import("convex/values").VObject<{
|
|
2155
2385
|
url?: string | undefined;
|
|
2156
2386
|
body?: any;
|
|
@@ -2218,6 +2448,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2218
2448
|
model?: string | undefined;
|
|
2219
2449
|
provider?: string | undefined;
|
|
2220
2450
|
text?: string | undefined;
|
|
2451
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2221
2452
|
reasoning?: string | undefined;
|
|
2222
2453
|
usage?: {
|
|
2223
2454
|
reasoningTokens?: number | undefined;
|
|
@@ -2226,17 +2457,18 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2226
2457
|
completionTokens: number;
|
|
2227
2458
|
totalTokens: number;
|
|
2228
2459
|
} | undefined;
|
|
2229
|
-
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2230
2460
|
sources?: ({
|
|
2231
2461
|
title?: string | undefined;
|
|
2232
2462
|
type?: "source" | undefined;
|
|
2233
2463
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2464
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2234
2465
|
id: string;
|
|
2235
2466
|
sourceType: "url";
|
|
2236
2467
|
url: string;
|
|
2237
2468
|
} | {
|
|
2238
|
-
|
|
2469
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2239
2470
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2471
|
+
filename?: string | undefined;
|
|
2240
2472
|
id: string;
|
|
2241
2473
|
title: string;
|
|
2242
2474
|
type: "source";
|
|
@@ -2258,6 +2490,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2258
2490
|
finishReason?: "length" | "error" | "other" | "stop" | "content-filter" | "tool-calls" | "unknown" | undefined;
|
|
2259
2491
|
reasoningDetails?: ({
|
|
2260
2492
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2493
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2261
2494
|
signature?: string | undefined;
|
|
2262
2495
|
type: "reasoning";
|
|
2263
2496
|
text: string;
|
|
@@ -2274,6 +2507,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2274
2507
|
role: "user";
|
|
2275
2508
|
content: string | ({
|
|
2276
2509
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2510
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2277
2511
|
type: "text";
|
|
2278
2512
|
text: string;
|
|
2279
2513
|
} | {
|
|
@@ -2283,6 +2517,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2283
2517
|
image: string | ArrayBuffer;
|
|
2284
2518
|
} | {
|
|
2285
2519
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2520
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2286
2521
|
filename?: string | undefined;
|
|
2287
2522
|
type: "file";
|
|
2288
2523
|
mimeType: string;
|
|
@@ -2293,25 +2528,30 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2293
2528
|
role: "assistant";
|
|
2294
2529
|
content: string | ({
|
|
2295
2530
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2531
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2296
2532
|
type: "text";
|
|
2297
2533
|
text: string;
|
|
2298
2534
|
} | {
|
|
2299
2535
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2536
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2300
2537
|
filename?: string | undefined;
|
|
2301
2538
|
type: "file";
|
|
2302
2539
|
mimeType: string;
|
|
2303
2540
|
data: string | ArrayBuffer;
|
|
2304
2541
|
} | {
|
|
2305
2542
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2543
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2306
2544
|
signature?: string | undefined;
|
|
2307
2545
|
type: "reasoning";
|
|
2308
2546
|
text: string;
|
|
2309
2547
|
} | {
|
|
2310
2548
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2549
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2311
2550
|
type: "redacted-reasoning";
|
|
2312
2551
|
data: string;
|
|
2313
2552
|
} | {
|
|
2314
2553
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2554
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2315
2555
|
providerExecuted?: boolean | undefined;
|
|
2316
2556
|
type: "tool-call";
|
|
2317
2557
|
toolCallId: string;
|
|
@@ -2319,6 +2559,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2319
2559
|
args: any;
|
|
2320
2560
|
} | {
|
|
2321
2561
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2562
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2322
2563
|
args?: any;
|
|
2323
2564
|
providerExecuted?: boolean | undefined;
|
|
2324
2565
|
isError?: boolean | undefined;
|
|
@@ -2340,6 +2581,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2340
2581
|
role: "tool";
|
|
2341
2582
|
content: {
|
|
2342
2583
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2584
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2343
2585
|
args?: any;
|
|
2344
2586
|
providerExecuted?: boolean | undefined;
|
|
2345
2587
|
isError?: boolean | undefined;
|
|
@@ -2367,6 +2609,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2367
2609
|
role: "user";
|
|
2368
2610
|
content: string | ({
|
|
2369
2611
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2612
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2370
2613
|
type: "text";
|
|
2371
2614
|
text: string;
|
|
2372
2615
|
} | {
|
|
@@ -2376,6 +2619,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2376
2619
|
image: string | ArrayBuffer;
|
|
2377
2620
|
} | {
|
|
2378
2621
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2622
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2379
2623
|
filename?: string | undefined;
|
|
2380
2624
|
type: "file";
|
|
2381
2625
|
mimeType: string;
|
|
@@ -2386,25 +2630,30 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2386
2630
|
role: "assistant";
|
|
2387
2631
|
content: string | ({
|
|
2388
2632
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2633
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2389
2634
|
type: "text";
|
|
2390
2635
|
text: string;
|
|
2391
2636
|
} | {
|
|
2392
2637
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2638
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2393
2639
|
filename?: string | undefined;
|
|
2394
2640
|
type: "file";
|
|
2395
2641
|
mimeType: string;
|
|
2396
2642
|
data: string | ArrayBuffer;
|
|
2397
2643
|
} | {
|
|
2398
2644
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2645
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2399
2646
|
signature?: string | undefined;
|
|
2400
2647
|
type: "reasoning";
|
|
2401
2648
|
text: string;
|
|
2402
2649
|
} | {
|
|
2403
2650
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2651
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2404
2652
|
type: "redacted-reasoning";
|
|
2405
2653
|
data: string;
|
|
2406
2654
|
} | {
|
|
2407
2655
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2656
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2408
2657
|
providerExecuted?: boolean | undefined;
|
|
2409
2658
|
type: "tool-call";
|
|
2410
2659
|
toolCallId: string;
|
|
@@ -2412,6 +2661,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2412
2661
|
args: any;
|
|
2413
2662
|
} | {
|
|
2414
2663
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2664
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2415
2665
|
args?: any;
|
|
2416
2666
|
providerExecuted?: boolean | undefined;
|
|
2417
2667
|
isError?: boolean | undefined;
|
|
@@ -2433,6 +2683,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2433
2683
|
role: "tool";
|
|
2434
2684
|
content: {
|
|
2435
2685
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2686
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2436
2687
|
args?: any;
|
|
2437
2688
|
providerExecuted?: boolean | undefined;
|
|
2438
2689
|
isError?: boolean | undefined;
|
|
@@ -2458,6 +2709,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2458
2709
|
role: "user";
|
|
2459
2710
|
content: string | ({
|
|
2460
2711
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2712
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2461
2713
|
type: "text";
|
|
2462
2714
|
text: string;
|
|
2463
2715
|
} | {
|
|
@@ -2467,6 +2719,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2467
2719
|
image: string | ArrayBuffer;
|
|
2468
2720
|
} | {
|
|
2469
2721
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2722
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2470
2723
|
filename?: string | undefined;
|
|
2471
2724
|
type: "file";
|
|
2472
2725
|
mimeType: string;
|
|
@@ -2476,6 +2729,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2476
2729
|
role: import("convex/values").VLiteral<"user", "required">;
|
|
2477
2730
|
content: import("convex/values").VUnion<string | ({
|
|
2478
2731
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2732
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2479
2733
|
type: "text";
|
|
2480
2734
|
text: string;
|
|
2481
2735
|
} | {
|
|
@@ -2485,12 +2739,14 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2485
2739
|
image: string | ArrayBuffer;
|
|
2486
2740
|
} | {
|
|
2487
2741
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2742
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2488
2743
|
filename?: string | undefined;
|
|
2489
2744
|
type: "file";
|
|
2490
2745
|
mimeType: string;
|
|
2491
2746
|
data: string | ArrayBuffer;
|
|
2492
2747
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
2493
2748
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2749
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2494
2750
|
type: "text";
|
|
2495
2751
|
text: string;
|
|
2496
2752
|
} | {
|
|
@@ -2500,12 +2756,14 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2500
2756
|
image: string | ArrayBuffer;
|
|
2501
2757
|
} | {
|
|
2502
2758
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2759
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2503
2760
|
filename?: string | undefined;
|
|
2504
2761
|
type: "file";
|
|
2505
2762
|
mimeType: string;
|
|
2506
2763
|
data: string | ArrayBuffer;
|
|
2507
2764
|
})[], import("convex/values").VUnion<{
|
|
2508
2765
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2766
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2509
2767
|
type: "text";
|
|
2510
2768
|
text: string;
|
|
2511
2769
|
} | {
|
|
@@ -2515,19 +2773,22 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2515
2773
|
image: string | ArrayBuffer;
|
|
2516
2774
|
} | {
|
|
2517
2775
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2776
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2518
2777
|
filename?: string | undefined;
|
|
2519
2778
|
type: "file";
|
|
2520
2779
|
mimeType: string;
|
|
2521
2780
|
data: string | ArrayBuffer;
|
|
2522
2781
|
}, [import("convex/values").VObject<{
|
|
2523
2782
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2783
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2524
2784
|
type: "text";
|
|
2525
2785
|
text: string;
|
|
2526
2786
|
}, {
|
|
2527
2787
|
type: import("convex/values").VLiteral<"text", "required">;
|
|
2528
2788
|
text: import("convex/values").VString<string, "required">;
|
|
2529
2789
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2530
|
-
|
|
2790
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2791
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}`>, import("convex/values").VObject<{
|
|
2531
2792
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2532
2793
|
mimeType?: string | undefined;
|
|
2533
2794
|
type: "image";
|
|
@@ -2539,6 +2800,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2539
2800
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2540
2801
|
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "image" | "mimeType">, import("convex/values").VObject<{
|
|
2541
2802
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2803
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2542
2804
|
filename?: string | undefined;
|
|
2543
2805
|
type: "file";
|
|
2544
2806
|
mimeType: string;
|
|
@@ -2549,32 +2811,38 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2549
2811
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
2550
2812
|
mimeType: import("convex/values").VString<string, "required">;
|
|
2551
2813
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2552
|
-
|
|
2814
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2815
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename">], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "image" | "mimeType" | "data" | "filename">, "required">], "required", never>;
|
|
2553
2816
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2554
2817
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
2555
2818
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2556
2819
|
role: "assistant";
|
|
2557
2820
|
content: string | ({
|
|
2558
2821
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2822
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2559
2823
|
type: "text";
|
|
2560
2824
|
text: string;
|
|
2561
2825
|
} | {
|
|
2562
2826
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2827
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2563
2828
|
filename?: string | undefined;
|
|
2564
2829
|
type: "file";
|
|
2565
2830
|
mimeType: string;
|
|
2566
2831
|
data: string | ArrayBuffer;
|
|
2567
2832
|
} | {
|
|
2568
2833
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2834
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2569
2835
|
signature?: string | undefined;
|
|
2570
2836
|
type: "reasoning";
|
|
2571
2837
|
text: string;
|
|
2572
2838
|
} | {
|
|
2573
2839
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2840
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2574
2841
|
type: "redacted-reasoning";
|
|
2575
2842
|
data: string;
|
|
2576
2843
|
} | {
|
|
2577
2844
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2845
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2578
2846
|
providerExecuted?: boolean | undefined;
|
|
2579
2847
|
type: "tool-call";
|
|
2580
2848
|
toolCallId: string;
|
|
@@ -2582,6 +2850,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2582
2850
|
args: any;
|
|
2583
2851
|
} | {
|
|
2584
2852
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2853
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2585
2854
|
args?: any;
|
|
2586
2855
|
providerExecuted?: boolean | undefined;
|
|
2587
2856
|
isError?: boolean | undefined;
|
|
@@ -2602,25 +2871,30 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2602
2871
|
role: import("convex/values").VLiteral<"assistant", "required">;
|
|
2603
2872
|
content: import("convex/values").VUnion<string | ({
|
|
2604
2873
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2874
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2605
2875
|
type: "text";
|
|
2606
2876
|
text: string;
|
|
2607
2877
|
} | {
|
|
2608
2878
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2879
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2609
2880
|
filename?: string | undefined;
|
|
2610
2881
|
type: "file";
|
|
2611
2882
|
mimeType: string;
|
|
2612
2883
|
data: string | ArrayBuffer;
|
|
2613
2884
|
} | {
|
|
2614
2885
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2886
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2615
2887
|
signature?: string | undefined;
|
|
2616
2888
|
type: "reasoning";
|
|
2617
2889
|
text: string;
|
|
2618
2890
|
} | {
|
|
2619
2891
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2892
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2620
2893
|
type: "redacted-reasoning";
|
|
2621
2894
|
data: string;
|
|
2622
2895
|
} | {
|
|
2623
2896
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2897
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2624
2898
|
providerExecuted?: boolean | undefined;
|
|
2625
2899
|
type: "tool-call";
|
|
2626
2900
|
toolCallId: string;
|
|
@@ -2628,6 +2902,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2628
2902
|
args: any;
|
|
2629
2903
|
} | {
|
|
2630
2904
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2905
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2631
2906
|
args?: any;
|
|
2632
2907
|
providerExecuted?: boolean | undefined;
|
|
2633
2908
|
isError?: boolean | undefined;
|
|
@@ -2645,25 +2920,30 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2645
2920
|
result: any;
|
|
2646
2921
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
2647
2922
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2923
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2648
2924
|
type: "text";
|
|
2649
2925
|
text: string;
|
|
2650
2926
|
} | {
|
|
2651
2927
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2928
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2652
2929
|
filename?: string | undefined;
|
|
2653
2930
|
type: "file";
|
|
2654
2931
|
mimeType: string;
|
|
2655
2932
|
data: string | ArrayBuffer;
|
|
2656
2933
|
} | {
|
|
2657
2934
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2935
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2658
2936
|
signature?: string | undefined;
|
|
2659
2937
|
type: "reasoning";
|
|
2660
2938
|
text: string;
|
|
2661
2939
|
} | {
|
|
2662
2940
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2941
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2663
2942
|
type: "redacted-reasoning";
|
|
2664
2943
|
data: string;
|
|
2665
2944
|
} | {
|
|
2666
2945
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2946
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2667
2947
|
providerExecuted?: boolean | undefined;
|
|
2668
2948
|
type: "tool-call";
|
|
2669
2949
|
toolCallId: string;
|
|
@@ -2671,6 +2951,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2671
2951
|
args: any;
|
|
2672
2952
|
} | {
|
|
2673
2953
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2954
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2674
2955
|
args?: any;
|
|
2675
2956
|
providerExecuted?: boolean | undefined;
|
|
2676
2957
|
isError?: boolean | undefined;
|
|
@@ -2688,25 +2969,30 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2688
2969
|
result: any;
|
|
2689
2970
|
})[], import("convex/values").VUnion<{
|
|
2690
2971
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2972
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2691
2973
|
type: "text";
|
|
2692
2974
|
text: string;
|
|
2693
2975
|
} | {
|
|
2694
2976
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2977
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2695
2978
|
filename?: string | undefined;
|
|
2696
2979
|
type: "file";
|
|
2697
2980
|
mimeType: string;
|
|
2698
2981
|
data: string | ArrayBuffer;
|
|
2699
2982
|
} | {
|
|
2700
2983
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2984
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2701
2985
|
signature?: string | undefined;
|
|
2702
2986
|
type: "reasoning";
|
|
2703
2987
|
text: string;
|
|
2704
2988
|
} | {
|
|
2705
2989
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2990
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2706
2991
|
type: "redacted-reasoning";
|
|
2707
2992
|
data: string;
|
|
2708
2993
|
} | {
|
|
2709
2994
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2995
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2710
2996
|
providerExecuted?: boolean | undefined;
|
|
2711
2997
|
type: "tool-call";
|
|
2712
2998
|
toolCallId: string;
|
|
@@ -2714,6 +3000,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2714
3000
|
args: any;
|
|
2715
3001
|
} | {
|
|
2716
3002
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3003
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2717
3004
|
args?: any;
|
|
2718
3005
|
providerExecuted?: boolean | undefined;
|
|
2719
3006
|
isError?: boolean | undefined;
|
|
@@ -2731,14 +3018,17 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2731
3018
|
result: any;
|
|
2732
3019
|
}, [import("convex/values").VObject<{
|
|
2733
3020
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3021
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2734
3022
|
type: "text";
|
|
2735
3023
|
text: string;
|
|
2736
3024
|
}, {
|
|
2737
3025
|
type: import("convex/values").VLiteral<"text", "required">;
|
|
2738
3026
|
text: import("convex/values").VString<string, "required">;
|
|
2739
3027
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2740
|
-
|
|
3028
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3029
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}`>, import("convex/values").VObject<{
|
|
2741
3030
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3031
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2742
3032
|
filename?: string | undefined;
|
|
2743
3033
|
type: "file";
|
|
2744
3034
|
mimeType: string;
|
|
@@ -2749,8 +3039,10 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2749
3039
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
2750
3040
|
mimeType: import("convex/values").VString<string, "required">;
|
|
2751
3041
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2752
|
-
|
|
3042
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3043
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename">, import("convex/values").VObject<{
|
|
2753
3044
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3045
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2754
3046
|
signature?: string | undefined;
|
|
2755
3047
|
type: "reasoning";
|
|
2756
3048
|
text: string;
|
|
@@ -2759,16 +3051,20 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2759
3051
|
text: import("convex/values").VString<string, "required">;
|
|
2760
3052
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
2761
3053
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2762
|
-
|
|
3054
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3055
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "signature">, import("convex/values").VObject<{
|
|
2763
3056
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3057
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2764
3058
|
type: "redacted-reasoning";
|
|
2765
3059
|
data: string;
|
|
2766
3060
|
}, {
|
|
2767
3061
|
type: import("convex/values").VLiteral<"redacted-reasoning", "required">;
|
|
2768
3062
|
data: import("convex/values").VString<string, "required">;
|
|
2769
3063
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2770
|
-
|
|
3064
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3065
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "data">, import("convex/values").VObject<{
|
|
2771
3066
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3067
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2772
3068
|
providerExecuted?: boolean | undefined;
|
|
2773
3069
|
type: "tool-call";
|
|
2774
3070
|
toolCallId: string;
|
|
@@ -2781,8 +3077,10 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2781
3077
|
args: import("convex/values").VAny<any, "required", string>;
|
|
2782
3078
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
2783
3079
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2784
|
-
|
|
3080
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3081
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}`>, import("convex/values").VObject<{
|
|
2785
3082
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3083
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2786
3084
|
args?: any;
|
|
2787
3085
|
providerExecuted?: boolean | undefined;
|
|
2788
3086
|
isError?: boolean | undefined;
|
|
@@ -2804,6 +3102,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2804
3102
|
toolName: import("convex/values").VString<string, "required">;
|
|
2805
3103
|
result: import("convex/values").VAny<any, "required", string>;
|
|
2806
3104
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3105
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2807
3106
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
2808
3107
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
2809
3108
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
@@ -2836,13 +3135,14 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2836
3135
|
data: import("convex/values").VString<string, "required">;
|
|
2837
3136
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
2838
3137
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
2839
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
3138
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
2840
3139
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2841
3140
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
2842
3141
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2843
3142
|
role: "tool";
|
|
2844
3143
|
content: {
|
|
2845
3144
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3145
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2846
3146
|
args?: any;
|
|
2847
3147
|
providerExecuted?: boolean | undefined;
|
|
2848
3148
|
isError?: boolean | undefined;
|
|
@@ -2863,6 +3163,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2863
3163
|
role: import("convex/values").VLiteral<"tool", "required">;
|
|
2864
3164
|
content: import("convex/values").VArray<{
|
|
2865
3165
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3166
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2866
3167
|
args?: any;
|
|
2867
3168
|
providerExecuted?: boolean | undefined;
|
|
2868
3169
|
isError?: boolean | undefined;
|
|
@@ -2880,6 +3181,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2880
3181
|
result: any;
|
|
2881
3182
|
}[], import("convex/values").VObject<{
|
|
2882
3183
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3184
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2883
3185
|
args?: any;
|
|
2884
3186
|
providerExecuted?: boolean | undefined;
|
|
2885
3187
|
isError?: boolean | undefined;
|
|
@@ -2901,6 +3203,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2901
3203
|
toolName: import("convex/values").VString<string, "required">;
|
|
2902
3204
|
result: import("convex/values").VAny<any, "required", string>;
|
|
2903
3205
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3206
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2904
3207
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
2905
3208
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
2906
3209
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
@@ -2933,7 +3236,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2933
3236
|
data: import("convex/values").VString<string, "required">;
|
|
2934
3237
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
2935
3238
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
2936
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">;
|
|
3239
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">;
|
|
2937
3240
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2938
3241
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
2939
3242
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2955,12 +3258,14 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2955
3258
|
title?: string | undefined;
|
|
2956
3259
|
type?: "source" | undefined;
|
|
2957
3260
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3261
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2958
3262
|
id: string;
|
|
2959
3263
|
sourceType: "url";
|
|
2960
3264
|
url: string;
|
|
2961
3265
|
} | {
|
|
2962
|
-
|
|
3266
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2963
3267
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3268
|
+
filename?: string | undefined;
|
|
2964
3269
|
id: string;
|
|
2965
3270
|
title: string;
|
|
2966
3271
|
type: "source";
|
|
@@ -2970,12 +3275,14 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2970
3275
|
title?: string | undefined;
|
|
2971
3276
|
type?: "source" | undefined;
|
|
2972
3277
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3278
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2973
3279
|
id: string;
|
|
2974
3280
|
sourceType: "url";
|
|
2975
3281
|
url: string;
|
|
2976
3282
|
} | {
|
|
2977
|
-
|
|
3283
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2978
3284
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3285
|
+
filename?: string | undefined;
|
|
2979
3286
|
id: string;
|
|
2980
3287
|
title: string;
|
|
2981
3288
|
type: "source";
|
|
@@ -2985,6 +3292,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2985
3292
|
title?: string | undefined;
|
|
2986
3293
|
type?: "source" | undefined;
|
|
2987
3294
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3295
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2988
3296
|
id: string;
|
|
2989
3297
|
sourceType: "url";
|
|
2990
3298
|
url: string;
|
|
@@ -2995,9 +3303,11 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2995
3303
|
url: import("convex/values").VString<string, "required">;
|
|
2996
3304
|
title: import("convex/values").VString<string | undefined, "optional">;
|
|
2997
3305
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2998
|
-
|
|
2999
|
-
|
|
3306
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3307
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "sourceType" | "url">, import("convex/values").VObject<{
|
|
3308
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3000
3309
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3310
|
+
filename?: string | undefined;
|
|
3001
3311
|
id: string;
|
|
3002
3312
|
title: string;
|
|
3003
3313
|
type: "source";
|
|
@@ -3010,11 +3320,13 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
3010
3320
|
mediaType: import("convex/values").VString<string, "required">;
|
|
3011
3321
|
title: import("convex/values").VString<string, "required">;
|
|
3012
3322
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
3323
|
+
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3013
3324
|
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3014
|
-
}, "required", "id" | "title" | "type" | "
|
|
3325
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "mediaType">], "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "url" | "mediaType">, "optional">;
|
|
3015
3326
|
reasoning: import("convex/values").VString<string | undefined, "optional">;
|
|
3016
3327
|
reasoningDetails: import("convex/values").VArray<({
|
|
3017
3328
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3329
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3018
3330
|
signature?: string | undefined;
|
|
3019
3331
|
type: "reasoning";
|
|
3020
3332
|
text: string;
|
|
@@ -3027,6 +3339,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
3027
3339
|
data: string;
|
|
3028
3340
|
})[] | undefined, import("convex/values").VUnion<{
|
|
3029
3341
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3342
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3030
3343
|
signature?: string | undefined;
|
|
3031
3344
|
type: "reasoning";
|
|
3032
3345
|
text: string;
|
|
@@ -3039,6 +3352,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
3039
3352
|
data: string;
|
|
3040
3353
|
}, [import("convex/values").VObject<{
|
|
3041
3354
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3355
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3042
3356
|
signature?: string | undefined;
|
|
3043
3357
|
type: "reasoning";
|
|
3044
3358
|
text: string;
|
|
@@ -3047,7 +3361,8 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
3047
3361
|
text: import("convex/values").VString<string, "required">;
|
|
3048
3362
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
3049
3363
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3050
|
-
|
|
3364
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3365
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "signature">, import("convex/values").VObject<{
|
|
3051
3366
|
signature?: string | undefined;
|
|
3052
3367
|
type: "text";
|
|
3053
3368
|
text: string;
|
|
@@ -3061,7 +3376,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
3061
3376
|
}, {
|
|
3062
3377
|
type: import("convex/values").VLiteral<"redacted", "required">;
|
|
3063
3378
|
data: import("convex/values").VString<string, "required">;
|
|
3064
|
-
}, "required", "type" | "data">], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "data" | "signature">, "optional">;
|
|
3379
|
+
}, "required", "type" | "data">], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "data" | "signature">, "optional">;
|
|
3065
3380
|
usage: import("convex/values").VObject<{
|
|
3066
3381
|
reasoningTokens?: number | undefined;
|
|
3067
3382
|
cachedInputTokens?: number | undefined;
|
|
@@ -3121,7 +3436,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
3121
3436
|
message: import("convex/values").VString<string, "required">;
|
|
3122
3437
|
}, "required", "type" | "message">], "required", "type" | "message" | "tool" | "setting" | "details" | `tool.${string}`>, "optional">;
|
|
3123
3438
|
error: import("convex/values").VString<string | undefined, "optional">;
|
|
3124
|
-
}, "required", "status" | "fileIds" | "error" | "model" | "provider" | "message" | "text" | "
|
|
3439
|
+
}, "required", "status" | "fileIds" | "error" | "model" | "provider" | "message" | "text" | "providerMetadata" | `providerMetadata.${string}` | "reasoning" | "usage" | "sources" | "warnings" | "finishReason" | "reasoningDetails" | "message.providerOptions" | "message.role" | `message.providerOptions.${string}` | "message.content" | "usage.promptTokens" | "usage.completionTokens" | "usage.totalTokens" | "usage.reasoningTokens" | "usage.cachedInputTokens">;
|
|
3125
3440
|
export type MessageWithMetadataInternal = Infer<typeof vMessageWithMetadataInternal>;
|
|
3126
3441
|
export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
3127
3442
|
status?: "pending" | "success" | "failed" | undefined;
|
|
@@ -3130,6 +3445,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3130
3445
|
model?: string | undefined;
|
|
3131
3446
|
provider?: string | undefined;
|
|
3132
3447
|
text?: string | undefined;
|
|
3448
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3133
3449
|
reasoning?: string | undefined;
|
|
3134
3450
|
usage?: {
|
|
3135
3451
|
reasoningTokens?: number | undefined;
|
|
@@ -3138,17 +3454,18 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3138
3454
|
completionTokens: number;
|
|
3139
3455
|
totalTokens: number;
|
|
3140
3456
|
} | undefined;
|
|
3141
|
-
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3142
3457
|
sources?: ({
|
|
3143
3458
|
title?: string | undefined;
|
|
3144
3459
|
type?: "source" | undefined;
|
|
3145
3460
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3461
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3146
3462
|
id: string;
|
|
3147
3463
|
sourceType: "url";
|
|
3148
3464
|
url: string;
|
|
3149
3465
|
} | {
|
|
3150
|
-
|
|
3466
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3151
3467
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3468
|
+
filename?: string | undefined;
|
|
3152
3469
|
id: string;
|
|
3153
3470
|
title: string;
|
|
3154
3471
|
type: "source";
|
|
@@ -3170,6 +3487,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3170
3487
|
finishReason?: "length" | "error" | "other" | "stop" | "content-filter" | "tool-calls" | "unknown" | undefined;
|
|
3171
3488
|
reasoningDetails?: ({
|
|
3172
3489
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3490
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3173
3491
|
signature?: string | undefined;
|
|
3174
3492
|
type: "reasoning";
|
|
3175
3493
|
text: string;
|
|
@@ -3186,6 +3504,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3186
3504
|
role: "user";
|
|
3187
3505
|
content: string | ({
|
|
3188
3506
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3507
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3189
3508
|
type: "text";
|
|
3190
3509
|
text: string;
|
|
3191
3510
|
} | {
|
|
@@ -3195,6 +3514,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3195
3514
|
image: string | ArrayBuffer;
|
|
3196
3515
|
} | {
|
|
3197
3516
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3517
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3198
3518
|
filename?: string | undefined;
|
|
3199
3519
|
type: "file";
|
|
3200
3520
|
mimeType: string;
|
|
@@ -3205,25 +3525,30 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3205
3525
|
role: "assistant";
|
|
3206
3526
|
content: string | ({
|
|
3207
3527
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3528
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3208
3529
|
type: "text";
|
|
3209
3530
|
text: string;
|
|
3210
3531
|
} | {
|
|
3211
3532
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3533
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3212
3534
|
filename?: string | undefined;
|
|
3213
3535
|
type: "file";
|
|
3214
3536
|
mimeType: string;
|
|
3215
3537
|
data: string | ArrayBuffer;
|
|
3216
3538
|
} | {
|
|
3217
3539
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3540
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3218
3541
|
signature?: string | undefined;
|
|
3219
3542
|
type: "reasoning";
|
|
3220
3543
|
text: string;
|
|
3221
3544
|
} | {
|
|
3222
3545
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3546
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3223
3547
|
type: "redacted-reasoning";
|
|
3224
3548
|
data: string;
|
|
3225
3549
|
} | {
|
|
3226
3550
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3551
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3227
3552
|
providerExecuted?: boolean | undefined;
|
|
3228
3553
|
type: "tool-call";
|
|
3229
3554
|
toolCallId: string;
|
|
@@ -3231,6 +3556,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3231
3556
|
args: any;
|
|
3232
3557
|
} | {
|
|
3233
3558
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3559
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3234
3560
|
args?: any;
|
|
3235
3561
|
providerExecuted?: boolean | undefined;
|
|
3236
3562
|
isError?: boolean | undefined;
|
|
@@ -3252,6 +3578,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3252
3578
|
role: "tool";
|
|
3253
3579
|
content: {
|
|
3254
3580
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3581
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3255
3582
|
args?: any;
|
|
3256
3583
|
providerExecuted?: boolean | undefined;
|
|
3257
3584
|
isError?: boolean | undefined;
|
|
@@ -3280,6 +3607,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3280
3607
|
role: "user";
|
|
3281
3608
|
content: string | ({
|
|
3282
3609
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3610
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3283
3611
|
type: "text";
|
|
3284
3612
|
text: string;
|
|
3285
3613
|
} | {
|
|
@@ -3289,6 +3617,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3289
3617
|
image: string | ArrayBuffer;
|
|
3290
3618
|
} | {
|
|
3291
3619
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3620
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3292
3621
|
filename?: string | undefined;
|
|
3293
3622
|
type: "file";
|
|
3294
3623
|
mimeType: string;
|
|
@@ -3299,25 +3628,30 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3299
3628
|
role: "assistant";
|
|
3300
3629
|
content: string | ({
|
|
3301
3630
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3631
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3302
3632
|
type: "text";
|
|
3303
3633
|
text: string;
|
|
3304
3634
|
} | {
|
|
3305
3635
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3636
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3306
3637
|
filename?: string | undefined;
|
|
3307
3638
|
type: "file";
|
|
3308
3639
|
mimeType: string;
|
|
3309
3640
|
data: string | ArrayBuffer;
|
|
3310
3641
|
} | {
|
|
3311
3642
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3643
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3312
3644
|
signature?: string | undefined;
|
|
3313
3645
|
type: "reasoning";
|
|
3314
3646
|
text: string;
|
|
3315
3647
|
} | {
|
|
3316
3648
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3649
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3317
3650
|
type: "redacted-reasoning";
|
|
3318
3651
|
data: string;
|
|
3319
3652
|
} | {
|
|
3320
3653
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3654
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3321
3655
|
providerExecuted?: boolean | undefined;
|
|
3322
3656
|
type: "tool-call";
|
|
3323
3657
|
toolCallId: string;
|
|
@@ -3325,6 +3659,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3325
3659
|
args: any;
|
|
3326
3660
|
} | {
|
|
3327
3661
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3662
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3328
3663
|
args?: any;
|
|
3329
3664
|
providerExecuted?: boolean | undefined;
|
|
3330
3665
|
isError?: boolean | undefined;
|
|
@@ -3346,6 +3681,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3346
3681
|
role: "tool";
|
|
3347
3682
|
content: {
|
|
3348
3683
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3684
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3349
3685
|
args?: any;
|
|
3350
3686
|
providerExecuted?: boolean | undefined;
|
|
3351
3687
|
isError?: boolean | undefined;
|
|
@@ -3371,6 +3707,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3371
3707
|
role: "user";
|
|
3372
3708
|
content: string | ({
|
|
3373
3709
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3710
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3374
3711
|
type: "text";
|
|
3375
3712
|
text: string;
|
|
3376
3713
|
} | {
|
|
@@ -3380,6 +3717,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3380
3717
|
image: string | ArrayBuffer;
|
|
3381
3718
|
} | {
|
|
3382
3719
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3720
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3383
3721
|
filename?: string | undefined;
|
|
3384
3722
|
type: "file";
|
|
3385
3723
|
mimeType: string;
|
|
@@ -3389,6 +3727,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3389
3727
|
role: import("convex/values").VLiteral<"user", "required">;
|
|
3390
3728
|
content: import("convex/values").VUnion<string | ({
|
|
3391
3729
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3730
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3392
3731
|
type: "text";
|
|
3393
3732
|
text: string;
|
|
3394
3733
|
} | {
|
|
@@ -3398,12 +3737,14 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3398
3737
|
image: string | ArrayBuffer;
|
|
3399
3738
|
} | {
|
|
3400
3739
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3740
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3401
3741
|
filename?: string | undefined;
|
|
3402
3742
|
type: "file";
|
|
3403
3743
|
mimeType: string;
|
|
3404
3744
|
data: string | ArrayBuffer;
|
|
3405
3745
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
3406
3746
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3747
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3407
3748
|
type: "text";
|
|
3408
3749
|
text: string;
|
|
3409
3750
|
} | {
|
|
@@ -3413,12 +3754,14 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3413
3754
|
image: string | ArrayBuffer;
|
|
3414
3755
|
} | {
|
|
3415
3756
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3757
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3416
3758
|
filename?: string | undefined;
|
|
3417
3759
|
type: "file";
|
|
3418
3760
|
mimeType: string;
|
|
3419
3761
|
data: string | ArrayBuffer;
|
|
3420
3762
|
})[], import("convex/values").VUnion<{
|
|
3421
3763
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3764
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3422
3765
|
type: "text";
|
|
3423
3766
|
text: string;
|
|
3424
3767
|
} | {
|
|
@@ -3428,19 +3771,22 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3428
3771
|
image: string | ArrayBuffer;
|
|
3429
3772
|
} | {
|
|
3430
3773
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3774
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3431
3775
|
filename?: string | undefined;
|
|
3432
3776
|
type: "file";
|
|
3433
3777
|
mimeType: string;
|
|
3434
3778
|
data: string | ArrayBuffer;
|
|
3435
3779
|
}, [import("convex/values").VObject<{
|
|
3436
3780
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3781
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3437
3782
|
type: "text";
|
|
3438
3783
|
text: string;
|
|
3439
3784
|
}, {
|
|
3440
3785
|
type: import("convex/values").VLiteral<"text", "required">;
|
|
3441
3786
|
text: import("convex/values").VString<string, "required">;
|
|
3442
3787
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3443
|
-
|
|
3788
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3789
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}`>, import("convex/values").VObject<{
|
|
3444
3790
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3445
3791
|
mimeType?: string | undefined;
|
|
3446
3792
|
type: "image";
|
|
@@ -3452,6 +3798,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3452
3798
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3453
3799
|
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "image" | "mimeType">, import("convex/values").VObject<{
|
|
3454
3800
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3801
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3455
3802
|
filename?: string | undefined;
|
|
3456
3803
|
type: "file";
|
|
3457
3804
|
mimeType: string;
|
|
@@ -3462,32 +3809,38 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3462
3809
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
3463
3810
|
mimeType: import("convex/values").VString<string, "required">;
|
|
3464
3811
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3465
|
-
|
|
3812
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3813
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename">], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "image" | "mimeType" | "data" | "filename">, "required">], "required", never>;
|
|
3466
3814
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3467
3815
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
3468
3816
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3469
3817
|
role: "assistant";
|
|
3470
3818
|
content: string | ({
|
|
3471
3819
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3820
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3472
3821
|
type: "text";
|
|
3473
3822
|
text: string;
|
|
3474
3823
|
} | {
|
|
3475
3824
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3825
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3476
3826
|
filename?: string | undefined;
|
|
3477
3827
|
type: "file";
|
|
3478
3828
|
mimeType: string;
|
|
3479
3829
|
data: string | ArrayBuffer;
|
|
3480
3830
|
} | {
|
|
3481
3831
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3832
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3482
3833
|
signature?: string | undefined;
|
|
3483
3834
|
type: "reasoning";
|
|
3484
3835
|
text: string;
|
|
3485
3836
|
} | {
|
|
3486
3837
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3838
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3487
3839
|
type: "redacted-reasoning";
|
|
3488
3840
|
data: string;
|
|
3489
3841
|
} | {
|
|
3490
3842
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3843
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3491
3844
|
providerExecuted?: boolean | undefined;
|
|
3492
3845
|
type: "tool-call";
|
|
3493
3846
|
toolCallId: string;
|
|
@@ -3495,6 +3848,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3495
3848
|
args: any;
|
|
3496
3849
|
} | {
|
|
3497
3850
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3851
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3498
3852
|
args?: any;
|
|
3499
3853
|
providerExecuted?: boolean | undefined;
|
|
3500
3854
|
isError?: boolean | undefined;
|
|
@@ -3515,25 +3869,30 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3515
3869
|
role: import("convex/values").VLiteral<"assistant", "required">;
|
|
3516
3870
|
content: import("convex/values").VUnion<string | ({
|
|
3517
3871
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3872
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3518
3873
|
type: "text";
|
|
3519
3874
|
text: string;
|
|
3520
3875
|
} | {
|
|
3521
3876
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3877
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3522
3878
|
filename?: string | undefined;
|
|
3523
3879
|
type: "file";
|
|
3524
3880
|
mimeType: string;
|
|
3525
3881
|
data: string | ArrayBuffer;
|
|
3526
3882
|
} | {
|
|
3527
3883
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3884
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3528
3885
|
signature?: string | undefined;
|
|
3529
3886
|
type: "reasoning";
|
|
3530
3887
|
text: string;
|
|
3531
3888
|
} | {
|
|
3532
3889
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3890
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3533
3891
|
type: "redacted-reasoning";
|
|
3534
3892
|
data: string;
|
|
3535
3893
|
} | {
|
|
3536
3894
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3895
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3537
3896
|
providerExecuted?: boolean | undefined;
|
|
3538
3897
|
type: "tool-call";
|
|
3539
3898
|
toolCallId: string;
|
|
@@ -3541,6 +3900,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3541
3900
|
args: any;
|
|
3542
3901
|
} | {
|
|
3543
3902
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3903
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3544
3904
|
args?: any;
|
|
3545
3905
|
providerExecuted?: boolean | undefined;
|
|
3546
3906
|
isError?: boolean | undefined;
|
|
@@ -3558,25 +3918,30 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3558
3918
|
result: any;
|
|
3559
3919
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
3560
3920
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3921
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3561
3922
|
type: "text";
|
|
3562
3923
|
text: string;
|
|
3563
3924
|
} | {
|
|
3564
3925
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3926
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3565
3927
|
filename?: string | undefined;
|
|
3566
3928
|
type: "file";
|
|
3567
3929
|
mimeType: string;
|
|
3568
3930
|
data: string | ArrayBuffer;
|
|
3569
3931
|
} | {
|
|
3570
3932
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3933
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3571
3934
|
signature?: string | undefined;
|
|
3572
3935
|
type: "reasoning";
|
|
3573
3936
|
text: string;
|
|
3574
3937
|
} | {
|
|
3575
3938
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3939
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3576
3940
|
type: "redacted-reasoning";
|
|
3577
3941
|
data: string;
|
|
3578
3942
|
} | {
|
|
3579
3943
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3944
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3580
3945
|
providerExecuted?: boolean | undefined;
|
|
3581
3946
|
type: "tool-call";
|
|
3582
3947
|
toolCallId: string;
|
|
@@ -3584,6 +3949,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3584
3949
|
args: any;
|
|
3585
3950
|
} | {
|
|
3586
3951
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3952
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3587
3953
|
args?: any;
|
|
3588
3954
|
providerExecuted?: boolean | undefined;
|
|
3589
3955
|
isError?: boolean | undefined;
|
|
@@ -3601,25 +3967,30 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3601
3967
|
result: any;
|
|
3602
3968
|
})[], import("convex/values").VUnion<{
|
|
3603
3969
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3970
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3604
3971
|
type: "text";
|
|
3605
3972
|
text: string;
|
|
3606
3973
|
} | {
|
|
3607
3974
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3975
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3608
3976
|
filename?: string | undefined;
|
|
3609
3977
|
type: "file";
|
|
3610
3978
|
mimeType: string;
|
|
3611
3979
|
data: string | ArrayBuffer;
|
|
3612
3980
|
} | {
|
|
3613
3981
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3982
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3614
3983
|
signature?: string | undefined;
|
|
3615
3984
|
type: "reasoning";
|
|
3616
3985
|
text: string;
|
|
3617
3986
|
} | {
|
|
3618
3987
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3988
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3619
3989
|
type: "redacted-reasoning";
|
|
3620
3990
|
data: string;
|
|
3621
3991
|
} | {
|
|
3622
3992
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3993
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3623
3994
|
providerExecuted?: boolean | undefined;
|
|
3624
3995
|
type: "tool-call";
|
|
3625
3996
|
toolCallId: string;
|
|
@@ -3627,6 +3998,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3627
3998
|
args: any;
|
|
3628
3999
|
} | {
|
|
3629
4000
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4001
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3630
4002
|
args?: any;
|
|
3631
4003
|
providerExecuted?: boolean | undefined;
|
|
3632
4004
|
isError?: boolean | undefined;
|
|
@@ -3644,14 +4016,17 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3644
4016
|
result: any;
|
|
3645
4017
|
}, [import("convex/values").VObject<{
|
|
3646
4018
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4019
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3647
4020
|
type: "text";
|
|
3648
4021
|
text: string;
|
|
3649
4022
|
}, {
|
|
3650
4023
|
type: import("convex/values").VLiteral<"text", "required">;
|
|
3651
4024
|
text: import("convex/values").VString<string, "required">;
|
|
3652
4025
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3653
|
-
|
|
4026
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4027
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}`>, import("convex/values").VObject<{
|
|
3654
4028
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4029
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3655
4030
|
filename?: string | undefined;
|
|
3656
4031
|
type: "file";
|
|
3657
4032
|
mimeType: string;
|
|
@@ -3662,8 +4037,10 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3662
4037
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
3663
4038
|
mimeType: import("convex/values").VString<string, "required">;
|
|
3664
4039
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3665
|
-
|
|
4040
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4041
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename">, import("convex/values").VObject<{
|
|
3666
4042
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4043
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3667
4044
|
signature?: string | undefined;
|
|
3668
4045
|
type: "reasoning";
|
|
3669
4046
|
text: string;
|
|
@@ -3672,16 +4049,20 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3672
4049
|
text: import("convex/values").VString<string, "required">;
|
|
3673
4050
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
3674
4051
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3675
|
-
|
|
4052
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4053
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "signature">, import("convex/values").VObject<{
|
|
3676
4054
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4055
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3677
4056
|
type: "redacted-reasoning";
|
|
3678
4057
|
data: string;
|
|
3679
4058
|
}, {
|
|
3680
4059
|
type: import("convex/values").VLiteral<"redacted-reasoning", "required">;
|
|
3681
4060
|
data: import("convex/values").VString<string, "required">;
|
|
3682
4061
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3683
|
-
|
|
4062
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4063
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "data">, import("convex/values").VObject<{
|
|
3684
4064
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4065
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3685
4066
|
providerExecuted?: boolean | undefined;
|
|
3686
4067
|
type: "tool-call";
|
|
3687
4068
|
toolCallId: string;
|
|
@@ -3694,8 +4075,10 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3694
4075
|
args: import("convex/values").VAny<any, "required", string>;
|
|
3695
4076
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
3696
4077
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3697
|
-
|
|
4078
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4079
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}`>, import("convex/values").VObject<{
|
|
3698
4080
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4081
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3699
4082
|
args?: any;
|
|
3700
4083
|
providerExecuted?: boolean | undefined;
|
|
3701
4084
|
isError?: boolean | undefined;
|
|
@@ -3717,6 +4100,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3717
4100
|
toolName: import("convex/values").VString<string, "required">;
|
|
3718
4101
|
result: import("convex/values").VAny<any, "required", string>;
|
|
3719
4102
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4103
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3720
4104
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
3721
4105
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
3722
4106
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
@@ -3749,13 +4133,14 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3749
4133
|
data: import("convex/values").VString<string, "required">;
|
|
3750
4134
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
3751
4135
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
3752
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
4136
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
3753
4137
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3754
4138
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
3755
4139
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3756
4140
|
role: "tool";
|
|
3757
4141
|
content: {
|
|
3758
4142
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4143
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3759
4144
|
args?: any;
|
|
3760
4145
|
providerExecuted?: boolean | undefined;
|
|
3761
4146
|
isError?: boolean | undefined;
|
|
@@ -3776,6 +4161,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3776
4161
|
role: import("convex/values").VLiteral<"tool", "required">;
|
|
3777
4162
|
content: import("convex/values").VArray<{
|
|
3778
4163
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4164
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3779
4165
|
args?: any;
|
|
3780
4166
|
providerExecuted?: boolean | undefined;
|
|
3781
4167
|
isError?: boolean | undefined;
|
|
@@ -3793,6 +4179,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3793
4179
|
result: any;
|
|
3794
4180
|
}[], import("convex/values").VObject<{
|
|
3795
4181
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4182
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3796
4183
|
args?: any;
|
|
3797
4184
|
providerExecuted?: boolean | undefined;
|
|
3798
4185
|
isError?: boolean | undefined;
|
|
@@ -3814,6 +4201,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3814
4201
|
toolName: import("convex/values").VString<string, "required">;
|
|
3815
4202
|
result: import("convex/values").VAny<any, "required", string>;
|
|
3816
4203
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4204
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3817
4205
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
3818
4206
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
3819
4207
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
@@ -3846,7 +4234,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3846
4234
|
data: import("convex/values").VString<string, "required">;
|
|
3847
4235
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
3848
4236
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
3849
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">;
|
|
4237
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">;
|
|
3850
4238
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3851
4239
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
3852
4240
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3867,12 +4255,14 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3867
4255
|
title?: string | undefined;
|
|
3868
4256
|
type?: "source" | undefined;
|
|
3869
4257
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4258
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3870
4259
|
id: string;
|
|
3871
4260
|
sourceType: "url";
|
|
3872
4261
|
url: string;
|
|
3873
4262
|
} | {
|
|
3874
|
-
|
|
4263
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3875
4264
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4265
|
+
filename?: string | undefined;
|
|
3876
4266
|
id: string;
|
|
3877
4267
|
title: string;
|
|
3878
4268
|
type: "source";
|
|
@@ -3882,12 +4272,14 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3882
4272
|
title?: string | undefined;
|
|
3883
4273
|
type?: "source" | undefined;
|
|
3884
4274
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4275
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3885
4276
|
id: string;
|
|
3886
4277
|
sourceType: "url";
|
|
3887
4278
|
url: string;
|
|
3888
4279
|
} | {
|
|
3889
|
-
|
|
4280
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3890
4281
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4282
|
+
filename?: string | undefined;
|
|
3891
4283
|
id: string;
|
|
3892
4284
|
title: string;
|
|
3893
4285
|
type: "source";
|
|
@@ -3897,6 +4289,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3897
4289
|
title?: string | undefined;
|
|
3898
4290
|
type?: "source" | undefined;
|
|
3899
4291
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4292
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3900
4293
|
id: string;
|
|
3901
4294
|
sourceType: "url";
|
|
3902
4295
|
url: string;
|
|
@@ -3907,9 +4300,11 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3907
4300
|
url: import("convex/values").VString<string, "required">;
|
|
3908
4301
|
title: import("convex/values").VString<string | undefined, "optional">;
|
|
3909
4302
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3910
|
-
|
|
3911
|
-
|
|
4303
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4304
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "sourceType" | "url">, import("convex/values").VObject<{
|
|
4305
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3912
4306
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4307
|
+
filename?: string | undefined;
|
|
3913
4308
|
id: string;
|
|
3914
4309
|
title: string;
|
|
3915
4310
|
type: "source";
|
|
@@ -3922,11 +4317,13 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3922
4317
|
mediaType: import("convex/values").VString<string, "required">;
|
|
3923
4318
|
title: import("convex/values").VString<string, "required">;
|
|
3924
4319
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
4320
|
+
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3925
4321
|
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3926
|
-
}, "required", "id" | "title" | "type" | "
|
|
4322
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "mediaType">], "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "url" | "mediaType">, "optional">;
|
|
3927
4323
|
reasoning: import("convex/values").VString<string | undefined, "optional">;
|
|
3928
4324
|
reasoningDetails: import("convex/values").VArray<({
|
|
3929
4325
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4326
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3930
4327
|
signature?: string | undefined;
|
|
3931
4328
|
type: "reasoning";
|
|
3932
4329
|
text: string;
|
|
@@ -3939,6 +4336,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3939
4336
|
data: string;
|
|
3940
4337
|
})[] | undefined, import("convex/values").VUnion<{
|
|
3941
4338
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4339
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3942
4340
|
signature?: string | undefined;
|
|
3943
4341
|
type: "reasoning";
|
|
3944
4342
|
text: string;
|
|
@@ -3951,6 +4349,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3951
4349
|
data: string;
|
|
3952
4350
|
}, [import("convex/values").VObject<{
|
|
3953
4351
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4352
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3954
4353
|
signature?: string | undefined;
|
|
3955
4354
|
type: "reasoning";
|
|
3956
4355
|
text: string;
|
|
@@ -3959,7 +4358,8 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3959
4358
|
text: import("convex/values").VString<string, "required">;
|
|
3960
4359
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
3961
4360
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3962
|
-
|
|
4361
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4362
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "signature">, import("convex/values").VObject<{
|
|
3963
4363
|
signature?: string | undefined;
|
|
3964
4364
|
type: "text";
|
|
3965
4365
|
text: string;
|
|
@@ -3973,7 +4373,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3973
4373
|
}, {
|
|
3974
4374
|
type: import("convex/values").VLiteral<"redacted", "required">;
|
|
3975
4375
|
data: import("convex/values").VString<string, "required">;
|
|
3976
|
-
}, "required", "type" | "data">], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "data" | "signature">, "optional">;
|
|
4376
|
+
}, "required", "type" | "data">], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "data" | "signature">, "optional">;
|
|
3977
4377
|
usage: import("convex/values").VObject<{
|
|
3978
4378
|
reasoningTokens?: number | undefined;
|
|
3979
4379
|
cachedInputTokens?: number | undefined;
|
|
@@ -4033,7 +4433,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
4033
4433
|
message: import("convex/values").VString<string, "required">;
|
|
4034
4434
|
}, "required", "type" | "message">], "required", "type" | "message" | "tool" | "setting" | "details" | `tool.${string}`>, "optional">;
|
|
4035
4435
|
error: import("convex/values").VString<string | undefined, "optional">;
|
|
4036
|
-
}, "required", "status" | "fileIds" | "error" | "model" | "provider" | "message" | "text" | "
|
|
4436
|
+
}, "required", "status" | "fileIds" | "error" | "model" | "provider" | "message" | "text" | "providerMetadata" | `providerMetadata.${string}` | "reasoning" | "usage" | "sources" | "warnings" | "finishReason" | "reasoningDetails" | "message.providerOptions" | "message.role" | `message.providerOptions.${string}` | "message.content" | "usage.promptTokens" | "usage.completionTokens" | "usage.totalTokens" | "usage.reasoningTokens" | "usage.cachedInputTokens">;
|
|
4037
4437
|
export type MessageWithMetadata = Infer<typeof vMessageWithMetadata>;
|
|
4038
4438
|
export declare const vMessageEmbeddingsWithDimension: import("convex/values").VObject<{
|
|
4039
4439
|
model: string;
|
|
@@ -4155,6 +4555,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4155
4555
|
role: "user";
|
|
4156
4556
|
content: string | ({
|
|
4157
4557
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4558
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4158
4559
|
type: "text";
|
|
4159
4560
|
text: string;
|
|
4160
4561
|
} | {
|
|
@@ -4164,6 +4565,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4164
4565
|
image: string | ArrayBuffer;
|
|
4165
4566
|
} | {
|
|
4166
4567
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4568
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4167
4569
|
filename?: string | undefined;
|
|
4168
4570
|
type: "file";
|
|
4169
4571
|
mimeType: string;
|
|
@@ -4174,25 +4576,30 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4174
4576
|
role: "assistant";
|
|
4175
4577
|
content: string | ({
|
|
4176
4578
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4579
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4177
4580
|
type: "text";
|
|
4178
4581
|
text: string;
|
|
4179
4582
|
} | {
|
|
4180
4583
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4584
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4181
4585
|
filename?: string | undefined;
|
|
4182
4586
|
type: "file";
|
|
4183
4587
|
mimeType: string;
|
|
4184
4588
|
data: string | ArrayBuffer;
|
|
4185
4589
|
} | {
|
|
4186
4590
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4591
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4187
4592
|
signature?: string | undefined;
|
|
4188
4593
|
type: "reasoning";
|
|
4189
4594
|
text: string;
|
|
4190
4595
|
} | {
|
|
4191
4596
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4597
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4192
4598
|
type: "redacted-reasoning";
|
|
4193
4599
|
data: string;
|
|
4194
4600
|
} | {
|
|
4195
4601
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4602
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4196
4603
|
providerExecuted?: boolean | undefined;
|
|
4197
4604
|
type: "tool-call";
|
|
4198
4605
|
toolCallId: string;
|
|
@@ -4200,6 +4607,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4200
4607
|
args: any;
|
|
4201
4608
|
} | {
|
|
4202
4609
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4610
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4203
4611
|
args?: any;
|
|
4204
4612
|
providerExecuted?: boolean | undefined;
|
|
4205
4613
|
isError?: boolean | undefined;
|
|
@@ -4221,6 +4629,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4221
4629
|
role: "tool";
|
|
4222
4630
|
content: {
|
|
4223
4631
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4632
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4224
4633
|
args?: any;
|
|
4225
4634
|
providerExecuted?: boolean | undefined;
|
|
4226
4635
|
isError?: boolean | undefined;
|
|
@@ -4302,6 +4711,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4302
4711
|
role: "user";
|
|
4303
4712
|
content: string | ({
|
|
4304
4713
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4714
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4305
4715
|
type: "text";
|
|
4306
4716
|
text: string;
|
|
4307
4717
|
} | {
|
|
@@ -4311,6 +4721,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4311
4721
|
image: string | ArrayBuffer;
|
|
4312
4722
|
} | {
|
|
4313
4723
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4724
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4314
4725
|
filename?: string | undefined;
|
|
4315
4726
|
type: "file";
|
|
4316
4727
|
mimeType: string;
|
|
@@ -4321,25 +4732,30 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4321
4732
|
role: "assistant";
|
|
4322
4733
|
content: string | ({
|
|
4323
4734
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4735
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4324
4736
|
type: "text";
|
|
4325
4737
|
text: string;
|
|
4326
4738
|
} | {
|
|
4327
4739
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4740
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4328
4741
|
filename?: string | undefined;
|
|
4329
4742
|
type: "file";
|
|
4330
4743
|
mimeType: string;
|
|
4331
4744
|
data: string | ArrayBuffer;
|
|
4332
4745
|
} | {
|
|
4333
4746
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4747
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4334
4748
|
signature?: string | undefined;
|
|
4335
4749
|
type: "reasoning";
|
|
4336
4750
|
text: string;
|
|
4337
4751
|
} | {
|
|
4338
4752
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4753
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4339
4754
|
type: "redacted-reasoning";
|
|
4340
4755
|
data: string;
|
|
4341
4756
|
} | {
|
|
4342
4757
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4758
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4343
4759
|
providerExecuted?: boolean | undefined;
|
|
4344
4760
|
type: "tool-call";
|
|
4345
4761
|
toolCallId: string;
|
|
@@ -4347,6 +4763,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4347
4763
|
args: any;
|
|
4348
4764
|
} | {
|
|
4349
4765
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4766
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4350
4767
|
args?: any;
|
|
4351
4768
|
providerExecuted?: boolean | undefined;
|
|
4352
4769
|
isError?: boolean | undefined;
|
|
@@ -4368,6 +4785,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4368
4785
|
role: "tool";
|
|
4369
4786
|
content: {
|
|
4370
4787
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4788
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4371
4789
|
args?: any;
|
|
4372
4790
|
providerExecuted?: boolean | undefined;
|
|
4373
4791
|
isError?: boolean | undefined;
|
|
@@ -4393,6 +4811,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4393
4811
|
role: "user";
|
|
4394
4812
|
content: string | ({
|
|
4395
4813
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4814
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4396
4815
|
type: "text";
|
|
4397
4816
|
text: string;
|
|
4398
4817
|
} | {
|
|
@@ -4402,6 +4821,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4402
4821
|
image: string | ArrayBuffer;
|
|
4403
4822
|
} | {
|
|
4404
4823
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4824
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4405
4825
|
filename?: string | undefined;
|
|
4406
4826
|
type: "file";
|
|
4407
4827
|
mimeType: string;
|
|
@@ -4412,25 +4832,30 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4412
4832
|
role: "assistant";
|
|
4413
4833
|
content: string | ({
|
|
4414
4834
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4835
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4415
4836
|
type: "text";
|
|
4416
4837
|
text: string;
|
|
4417
4838
|
} | {
|
|
4418
4839
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4840
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4419
4841
|
filename?: string | undefined;
|
|
4420
4842
|
type: "file";
|
|
4421
4843
|
mimeType: string;
|
|
4422
4844
|
data: string | ArrayBuffer;
|
|
4423
4845
|
} | {
|
|
4424
4846
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4847
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4425
4848
|
signature?: string | undefined;
|
|
4426
4849
|
type: "reasoning";
|
|
4427
4850
|
text: string;
|
|
4428
4851
|
} | {
|
|
4429
4852
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4853
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4430
4854
|
type: "redacted-reasoning";
|
|
4431
4855
|
data: string;
|
|
4432
4856
|
} | {
|
|
4433
4857
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4858
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4434
4859
|
providerExecuted?: boolean | undefined;
|
|
4435
4860
|
type: "tool-call";
|
|
4436
4861
|
toolCallId: string;
|
|
@@ -4438,6 +4863,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4438
4863
|
args: any;
|
|
4439
4864
|
} | {
|
|
4440
4865
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4866
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4441
4867
|
args?: any;
|
|
4442
4868
|
providerExecuted?: boolean | undefined;
|
|
4443
4869
|
isError?: boolean | undefined;
|
|
@@ -4459,6 +4885,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4459
4885
|
role: "tool";
|
|
4460
4886
|
content: {
|
|
4461
4887
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4888
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4462
4889
|
args?: any;
|
|
4463
4890
|
providerExecuted?: boolean | undefined;
|
|
4464
4891
|
isError?: boolean | undefined;
|
|
@@ -4484,6 +4911,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4484
4911
|
role: "user";
|
|
4485
4912
|
content: string | ({
|
|
4486
4913
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4914
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4487
4915
|
type: "text";
|
|
4488
4916
|
text: string;
|
|
4489
4917
|
} | {
|
|
@@ -4493,6 +4921,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4493
4921
|
image: string | ArrayBuffer;
|
|
4494
4922
|
} | {
|
|
4495
4923
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4924
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4496
4925
|
filename?: string | undefined;
|
|
4497
4926
|
type: "file";
|
|
4498
4927
|
mimeType: string;
|
|
@@ -4502,6 +4931,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4502
4931
|
role: import("convex/values").VLiteral<"user", "required">;
|
|
4503
4932
|
content: import("convex/values").VUnion<string | ({
|
|
4504
4933
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4934
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4505
4935
|
type: "text";
|
|
4506
4936
|
text: string;
|
|
4507
4937
|
} | {
|
|
@@ -4511,12 +4941,14 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4511
4941
|
image: string | ArrayBuffer;
|
|
4512
4942
|
} | {
|
|
4513
4943
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4944
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4514
4945
|
filename?: string | undefined;
|
|
4515
4946
|
type: "file";
|
|
4516
4947
|
mimeType: string;
|
|
4517
4948
|
data: string | ArrayBuffer;
|
|
4518
4949
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
4519
4950
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4951
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4520
4952
|
type: "text";
|
|
4521
4953
|
text: string;
|
|
4522
4954
|
} | {
|
|
@@ -4526,12 +4958,14 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4526
4958
|
image: string | ArrayBuffer;
|
|
4527
4959
|
} | {
|
|
4528
4960
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4961
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4529
4962
|
filename?: string | undefined;
|
|
4530
4963
|
type: "file";
|
|
4531
4964
|
mimeType: string;
|
|
4532
4965
|
data: string | ArrayBuffer;
|
|
4533
4966
|
})[], import("convex/values").VUnion<{
|
|
4534
4967
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4968
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4535
4969
|
type: "text";
|
|
4536
4970
|
text: string;
|
|
4537
4971
|
} | {
|
|
@@ -4541,19 +4975,22 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4541
4975
|
image: string | ArrayBuffer;
|
|
4542
4976
|
} | {
|
|
4543
4977
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4978
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4544
4979
|
filename?: string | undefined;
|
|
4545
4980
|
type: "file";
|
|
4546
4981
|
mimeType: string;
|
|
4547
4982
|
data: string | ArrayBuffer;
|
|
4548
4983
|
}, [import("convex/values").VObject<{
|
|
4549
4984
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4985
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4550
4986
|
type: "text";
|
|
4551
4987
|
text: string;
|
|
4552
4988
|
}, {
|
|
4553
4989
|
type: import("convex/values").VLiteral<"text", "required">;
|
|
4554
4990
|
text: import("convex/values").VString<string, "required">;
|
|
4555
4991
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4556
|
-
|
|
4992
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4993
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}`>, import("convex/values").VObject<{
|
|
4557
4994
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4558
4995
|
mimeType?: string | undefined;
|
|
4559
4996
|
type: "image";
|
|
@@ -4565,6 +5002,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4565
5002
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4566
5003
|
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "image" | "mimeType">, import("convex/values").VObject<{
|
|
4567
5004
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5005
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4568
5006
|
filename?: string | undefined;
|
|
4569
5007
|
type: "file";
|
|
4570
5008
|
mimeType: string;
|
|
@@ -4575,32 +5013,38 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4575
5013
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
4576
5014
|
mimeType: import("convex/values").VString<string, "required">;
|
|
4577
5015
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4578
|
-
|
|
5016
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
5017
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename">], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "image" | "mimeType" | "data" | "filename">, "required">], "required", never>;
|
|
4579
5018
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4580
5019
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
4581
5020
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4582
5021
|
role: "assistant";
|
|
4583
5022
|
content: string | ({
|
|
4584
5023
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5024
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4585
5025
|
type: "text";
|
|
4586
5026
|
text: string;
|
|
4587
5027
|
} | {
|
|
4588
5028
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5029
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4589
5030
|
filename?: string | undefined;
|
|
4590
5031
|
type: "file";
|
|
4591
5032
|
mimeType: string;
|
|
4592
5033
|
data: string | ArrayBuffer;
|
|
4593
5034
|
} | {
|
|
4594
5035
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5036
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4595
5037
|
signature?: string | undefined;
|
|
4596
5038
|
type: "reasoning";
|
|
4597
5039
|
text: string;
|
|
4598
5040
|
} | {
|
|
4599
5041
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5042
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4600
5043
|
type: "redacted-reasoning";
|
|
4601
5044
|
data: string;
|
|
4602
5045
|
} | {
|
|
4603
5046
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5047
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4604
5048
|
providerExecuted?: boolean | undefined;
|
|
4605
5049
|
type: "tool-call";
|
|
4606
5050
|
toolCallId: string;
|
|
@@ -4608,6 +5052,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4608
5052
|
args: any;
|
|
4609
5053
|
} | {
|
|
4610
5054
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5055
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4611
5056
|
args?: any;
|
|
4612
5057
|
providerExecuted?: boolean | undefined;
|
|
4613
5058
|
isError?: boolean | undefined;
|
|
@@ -4628,25 +5073,30 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4628
5073
|
role: import("convex/values").VLiteral<"assistant", "required">;
|
|
4629
5074
|
content: import("convex/values").VUnion<string | ({
|
|
4630
5075
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5076
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4631
5077
|
type: "text";
|
|
4632
5078
|
text: string;
|
|
4633
5079
|
} | {
|
|
4634
5080
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5081
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4635
5082
|
filename?: string | undefined;
|
|
4636
5083
|
type: "file";
|
|
4637
5084
|
mimeType: string;
|
|
4638
5085
|
data: string | ArrayBuffer;
|
|
4639
5086
|
} | {
|
|
4640
5087
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5088
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4641
5089
|
signature?: string | undefined;
|
|
4642
5090
|
type: "reasoning";
|
|
4643
5091
|
text: string;
|
|
4644
5092
|
} | {
|
|
4645
5093
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5094
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4646
5095
|
type: "redacted-reasoning";
|
|
4647
5096
|
data: string;
|
|
4648
5097
|
} | {
|
|
4649
5098
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5099
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4650
5100
|
providerExecuted?: boolean | undefined;
|
|
4651
5101
|
type: "tool-call";
|
|
4652
5102
|
toolCallId: string;
|
|
@@ -4654,6 +5104,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4654
5104
|
args: any;
|
|
4655
5105
|
} | {
|
|
4656
5106
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5107
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4657
5108
|
args?: any;
|
|
4658
5109
|
providerExecuted?: boolean | undefined;
|
|
4659
5110
|
isError?: boolean | undefined;
|
|
@@ -4671,25 +5122,30 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4671
5122
|
result: any;
|
|
4672
5123
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
4673
5124
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5125
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4674
5126
|
type: "text";
|
|
4675
5127
|
text: string;
|
|
4676
5128
|
} | {
|
|
4677
5129
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5130
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4678
5131
|
filename?: string | undefined;
|
|
4679
5132
|
type: "file";
|
|
4680
5133
|
mimeType: string;
|
|
4681
5134
|
data: string | ArrayBuffer;
|
|
4682
5135
|
} | {
|
|
4683
5136
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5137
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4684
5138
|
signature?: string | undefined;
|
|
4685
5139
|
type: "reasoning";
|
|
4686
5140
|
text: string;
|
|
4687
5141
|
} | {
|
|
4688
5142
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5143
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4689
5144
|
type: "redacted-reasoning";
|
|
4690
5145
|
data: string;
|
|
4691
5146
|
} | {
|
|
4692
5147
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5148
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4693
5149
|
providerExecuted?: boolean | undefined;
|
|
4694
5150
|
type: "tool-call";
|
|
4695
5151
|
toolCallId: string;
|
|
@@ -4697,6 +5153,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4697
5153
|
args: any;
|
|
4698
5154
|
} | {
|
|
4699
5155
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5156
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4700
5157
|
args?: any;
|
|
4701
5158
|
providerExecuted?: boolean | undefined;
|
|
4702
5159
|
isError?: boolean | undefined;
|
|
@@ -4714,25 +5171,30 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4714
5171
|
result: any;
|
|
4715
5172
|
})[], import("convex/values").VUnion<{
|
|
4716
5173
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5174
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4717
5175
|
type: "text";
|
|
4718
5176
|
text: string;
|
|
4719
5177
|
} | {
|
|
4720
5178
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5179
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4721
5180
|
filename?: string | undefined;
|
|
4722
5181
|
type: "file";
|
|
4723
5182
|
mimeType: string;
|
|
4724
5183
|
data: string | ArrayBuffer;
|
|
4725
5184
|
} | {
|
|
4726
5185
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5186
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4727
5187
|
signature?: string | undefined;
|
|
4728
5188
|
type: "reasoning";
|
|
4729
5189
|
text: string;
|
|
4730
5190
|
} | {
|
|
4731
5191
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5192
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4732
5193
|
type: "redacted-reasoning";
|
|
4733
5194
|
data: string;
|
|
4734
5195
|
} | {
|
|
4735
5196
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5197
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4736
5198
|
providerExecuted?: boolean | undefined;
|
|
4737
5199
|
type: "tool-call";
|
|
4738
5200
|
toolCallId: string;
|
|
@@ -4740,6 +5202,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4740
5202
|
args: any;
|
|
4741
5203
|
} | {
|
|
4742
5204
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5205
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4743
5206
|
args?: any;
|
|
4744
5207
|
providerExecuted?: boolean | undefined;
|
|
4745
5208
|
isError?: boolean | undefined;
|
|
@@ -4757,14 +5220,17 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4757
5220
|
result: any;
|
|
4758
5221
|
}, [import("convex/values").VObject<{
|
|
4759
5222
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5223
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4760
5224
|
type: "text";
|
|
4761
5225
|
text: string;
|
|
4762
5226
|
}, {
|
|
4763
5227
|
type: import("convex/values").VLiteral<"text", "required">;
|
|
4764
5228
|
text: import("convex/values").VString<string, "required">;
|
|
4765
5229
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4766
|
-
|
|
5230
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
5231
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}`>, import("convex/values").VObject<{
|
|
4767
5232
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5233
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4768
5234
|
filename?: string | undefined;
|
|
4769
5235
|
type: "file";
|
|
4770
5236
|
mimeType: string;
|
|
@@ -4775,8 +5241,10 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4775
5241
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
4776
5242
|
mimeType: import("convex/values").VString<string, "required">;
|
|
4777
5243
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4778
|
-
|
|
5244
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
5245
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename">, import("convex/values").VObject<{
|
|
4779
5246
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5247
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4780
5248
|
signature?: string | undefined;
|
|
4781
5249
|
type: "reasoning";
|
|
4782
5250
|
text: string;
|
|
@@ -4785,16 +5253,20 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4785
5253
|
text: import("convex/values").VString<string, "required">;
|
|
4786
5254
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
4787
5255
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4788
|
-
|
|
5256
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
5257
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "signature">, import("convex/values").VObject<{
|
|
4789
5258
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5259
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4790
5260
|
type: "redacted-reasoning";
|
|
4791
5261
|
data: string;
|
|
4792
5262
|
}, {
|
|
4793
5263
|
type: import("convex/values").VLiteral<"redacted-reasoning", "required">;
|
|
4794
5264
|
data: import("convex/values").VString<string, "required">;
|
|
4795
5265
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4796
|
-
|
|
5266
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
5267
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "data">, import("convex/values").VObject<{
|
|
4797
5268
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5269
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4798
5270
|
providerExecuted?: boolean | undefined;
|
|
4799
5271
|
type: "tool-call";
|
|
4800
5272
|
toolCallId: string;
|
|
@@ -4807,8 +5279,10 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4807
5279
|
args: import("convex/values").VAny<any, "required", string>;
|
|
4808
5280
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
4809
5281
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4810
|
-
|
|
5282
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
5283
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}`>, import("convex/values").VObject<{
|
|
4811
5284
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5285
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4812
5286
|
args?: any;
|
|
4813
5287
|
providerExecuted?: boolean | undefined;
|
|
4814
5288
|
isError?: boolean | undefined;
|
|
@@ -4830,6 +5304,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4830
5304
|
toolName: import("convex/values").VString<string, "required">;
|
|
4831
5305
|
result: import("convex/values").VAny<any, "required", string>;
|
|
4832
5306
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
5307
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4833
5308
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
4834
5309
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
4835
5310
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
@@ -4862,13 +5337,14 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4862
5337
|
data: import("convex/values").VString<string, "required">;
|
|
4863
5338
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
4864
5339
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
4865
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
5340
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
4866
5341
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4867
5342
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
4868
5343
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4869
5344
|
role: "tool";
|
|
4870
5345
|
content: {
|
|
4871
5346
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5347
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4872
5348
|
args?: any;
|
|
4873
5349
|
providerExecuted?: boolean | undefined;
|
|
4874
5350
|
isError?: boolean | undefined;
|
|
@@ -4889,6 +5365,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4889
5365
|
role: import("convex/values").VLiteral<"tool", "required">;
|
|
4890
5366
|
content: import("convex/values").VArray<{
|
|
4891
5367
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5368
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4892
5369
|
args?: any;
|
|
4893
5370
|
providerExecuted?: boolean | undefined;
|
|
4894
5371
|
isError?: boolean | undefined;
|
|
@@ -4906,6 +5383,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4906
5383
|
result: any;
|
|
4907
5384
|
}[], import("convex/values").VObject<{
|
|
4908
5385
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5386
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4909
5387
|
args?: any;
|
|
4910
5388
|
providerExecuted?: boolean | undefined;
|
|
4911
5389
|
isError?: boolean | undefined;
|
|
@@ -4927,6 +5405,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4927
5405
|
toolName: import("convex/values").VString<string, "required">;
|
|
4928
5406
|
result: import("convex/values").VAny<any, "required", string>;
|
|
4929
5407
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
5408
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4930
5409
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
4931
5410
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
4932
5411
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
@@ -4959,7 +5438,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4959
5438
|
data: import("convex/values").VString<string, "required">;
|
|
4960
5439
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
4961
5440
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
4962
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">;
|
|
5441
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">;
|
|
4963
5442
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4964
5443
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
4965
5444
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -5055,6 +5534,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5055
5534
|
role: "user";
|
|
5056
5535
|
content: string | ({
|
|
5057
5536
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5537
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5058
5538
|
type: "text";
|
|
5059
5539
|
text: string;
|
|
5060
5540
|
} | {
|
|
@@ -5064,6 +5544,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5064
5544
|
image: string | ArrayBuffer;
|
|
5065
5545
|
} | {
|
|
5066
5546
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5547
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5067
5548
|
filename?: string | undefined;
|
|
5068
5549
|
type: "file";
|
|
5069
5550
|
mimeType: string;
|
|
@@ -5074,25 +5555,30 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5074
5555
|
role: "assistant";
|
|
5075
5556
|
content: string | ({
|
|
5076
5557
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5558
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5077
5559
|
type: "text";
|
|
5078
5560
|
text: string;
|
|
5079
5561
|
} | {
|
|
5080
5562
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5563
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5081
5564
|
filename?: string | undefined;
|
|
5082
5565
|
type: "file";
|
|
5083
5566
|
mimeType: string;
|
|
5084
5567
|
data: string | ArrayBuffer;
|
|
5085
5568
|
} | {
|
|
5086
5569
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5570
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5087
5571
|
signature?: string | undefined;
|
|
5088
5572
|
type: "reasoning";
|
|
5089
5573
|
text: string;
|
|
5090
5574
|
} | {
|
|
5091
5575
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5576
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5092
5577
|
type: "redacted-reasoning";
|
|
5093
5578
|
data: string;
|
|
5094
5579
|
} | {
|
|
5095
5580
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5581
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5096
5582
|
providerExecuted?: boolean | undefined;
|
|
5097
5583
|
type: "tool-call";
|
|
5098
5584
|
toolCallId: string;
|
|
@@ -5100,6 +5586,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5100
5586
|
args: any;
|
|
5101
5587
|
} | {
|
|
5102
5588
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5589
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5103
5590
|
args?: any;
|
|
5104
5591
|
providerExecuted?: boolean | undefined;
|
|
5105
5592
|
isError?: boolean | undefined;
|
|
@@ -5121,6 +5608,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5121
5608
|
role: "tool";
|
|
5122
5609
|
content: {
|
|
5123
5610
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5611
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5124
5612
|
args?: any;
|
|
5125
5613
|
providerExecuted?: boolean | undefined;
|
|
5126
5614
|
isError?: boolean | undefined;
|
|
@@ -5182,6 +5670,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5182
5670
|
role: "user";
|
|
5183
5671
|
content: string | ({
|
|
5184
5672
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5673
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5185
5674
|
type: "text";
|
|
5186
5675
|
text: string;
|
|
5187
5676
|
} | {
|
|
@@ -5191,6 +5680,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5191
5680
|
image: string | ArrayBuffer;
|
|
5192
5681
|
} | {
|
|
5193
5682
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5683
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5194
5684
|
filename?: string | undefined;
|
|
5195
5685
|
type: "file";
|
|
5196
5686
|
mimeType: string;
|
|
@@ -5201,25 +5691,30 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5201
5691
|
role: "assistant";
|
|
5202
5692
|
content: string | ({
|
|
5203
5693
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5694
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5204
5695
|
type: "text";
|
|
5205
5696
|
text: string;
|
|
5206
5697
|
} | {
|
|
5207
5698
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5699
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5208
5700
|
filename?: string | undefined;
|
|
5209
5701
|
type: "file";
|
|
5210
5702
|
mimeType: string;
|
|
5211
5703
|
data: string | ArrayBuffer;
|
|
5212
5704
|
} | {
|
|
5213
5705
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5706
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5214
5707
|
signature?: string | undefined;
|
|
5215
5708
|
type: "reasoning";
|
|
5216
5709
|
text: string;
|
|
5217
5710
|
} | {
|
|
5218
5711
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5712
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5219
5713
|
type: "redacted-reasoning";
|
|
5220
5714
|
data: string;
|
|
5221
5715
|
} | {
|
|
5222
5716
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5717
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5223
5718
|
providerExecuted?: boolean | undefined;
|
|
5224
5719
|
type: "tool-call";
|
|
5225
5720
|
toolCallId: string;
|
|
@@ -5227,6 +5722,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5227
5722
|
args: any;
|
|
5228
5723
|
} | {
|
|
5229
5724
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5725
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5230
5726
|
args?: any;
|
|
5231
5727
|
providerExecuted?: boolean | undefined;
|
|
5232
5728
|
isError?: boolean | undefined;
|
|
@@ -5248,6 +5744,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5248
5744
|
role: "tool";
|
|
5249
5745
|
content: {
|
|
5250
5746
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5747
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5251
5748
|
args?: any;
|
|
5252
5749
|
providerExecuted?: boolean | undefined;
|
|
5253
5750
|
isError?: boolean | undefined;
|
|
@@ -5273,6 +5770,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5273
5770
|
role: "user";
|
|
5274
5771
|
content: string | ({
|
|
5275
5772
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5773
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5276
5774
|
type: "text";
|
|
5277
5775
|
text: string;
|
|
5278
5776
|
} | {
|
|
@@ -5282,6 +5780,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5282
5780
|
image: string | ArrayBuffer;
|
|
5283
5781
|
} | {
|
|
5284
5782
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5783
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5285
5784
|
filename?: string | undefined;
|
|
5286
5785
|
type: "file";
|
|
5287
5786
|
mimeType: string;
|
|
@@ -5292,25 +5791,30 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5292
5791
|
role: "assistant";
|
|
5293
5792
|
content: string | ({
|
|
5294
5793
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5794
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5295
5795
|
type: "text";
|
|
5296
5796
|
text: string;
|
|
5297
5797
|
} | {
|
|
5298
5798
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5799
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5299
5800
|
filename?: string | undefined;
|
|
5300
5801
|
type: "file";
|
|
5301
5802
|
mimeType: string;
|
|
5302
5803
|
data: string | ArrayBuffer;
|
|
5303
5804
|
} | {
|
|
5304
5805
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5806
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5305
5807
|
signature?: string | undefined;
|
|
5306
5808
|
type: "reasoning";
|
|
5307
5809
|
text: string;
|
|
5308
5810
|
} | {
|
|
5309
5811
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5812
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5310
5813
|
type: "redacted-reasoning";
|
|
5311
5814
|
data: string;
|
|
5312
5815
|
} | {
|
|
5313
5816
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5817
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5314
5818
|
providerExecuted?: boolean | undefined;
|
|
5315
5819
|
type: "tool-call";
|
|
5316
5820
|
toolCallId: string;
|
|
@@ -5318,6 +5822,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5318
5822
|
args: any;
|
|
5319
5823
|
} | {
|
|
5320
5824
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5825
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5321
5826
|
args?: any;
|
|
5322
5827
|
providerExecuted?: boolean | undefined;
|
|
5323
5828
|
isError?: boolean | undefined;
|
|
@@ -5339,6 +5844,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5339
5844
|
role: "tool";
|
|
5340
5845
|
content: {
|
|
5341
5846
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5847
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5342
5848
|
args?: any;
|
|
5343
5849
|
providerExecuted?: boolean | undefined;
|
|
5344
5850
|
isError?: boolean | undefined;
|
|
@@ -5364,6 +5870,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5364
5870
|
role: "user";
|
|
5365
5871
|
content: string | ({
|
|
5366
5872
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5873
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5367
5874
|
type: "text";
|
|
5368
5875
|
text: string;
|
|
5369
5876
|
} | {
|
|
@@ -5373,6 +5880,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5373
5880
|
image: string | ArrayBuffer;
|
|
5374
5881
|
} | {
|
|
5375
5882
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5883
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5376
5884
|
filename?: string | undefined;
|
|
5377
5885
|
type: "file";
|
|
5378
5886
|
mimeType: string;
|
|
@@ -5382,6 +5890,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5382
5890
|
role: import("convex/values").VLiteral<"user", "required">;
|
|
5383
5891
|
content: import("convex/values").VUnion<string | ({
|
|
5384
5892
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5893
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5385
5894
|
type: "text";
|
|
5386
5895
|
text: string;
|
|
5387
5896
|
} | {
|
|
@@ -5391,12 +5900,14 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5391
5900
|
image: string | ArrayBuffer;
|
|
5392
5901
|
} | {
|
|
5393
5902
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5903
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5394
5904
|
filename?: string | undefined;
|
|
5395
5905
|
type: "file";
|
|
5396
5906
|
mimeType: string;
|
|
5397
5907
|
data: string | ArrayBuffer;
|
|
5398
5908
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
5399
5909
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5910
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5400
5911
|
type: "text";
|
|
5401
5912
|
text: string;
|
|
5402
5913
|
} | {
|
|
@@ -5406,12 +5917,14 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5406
5917
|
image: string | ArrayBuffer;
|
|
5407
5918
|
} | {
|
|
5408
5919
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5920
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5409
5921
|
filename?: string | undefined;
|
|
5410
5922
|
type: "file";
|
|
5411
5923
|
mimeType: string;
|
|
5412
5924
|
data: string | ArrayBuffer;
|
|
5413
5925
|
})[], import("convex/values").VUnion<{
|
|
5414
5926
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5927
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5415
5928
|
type: "text";
|
|
5416
5929
|
text: string;
|
|
5417
5930
|
} | {
|
|
@@ -5421,19 +5934,22 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5421
5934
|
image: string | ArrayBuffer;
|
|
5422
5935
|
} | {
|
|
5423
5936
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5937
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5424
5938
|
filename?: string | undefined;
|
|
5425
5939
|
type: "file";
|
|
5426
5940
|
mimeType: string;
|
|
5427
5941
|
data: string | ArrayBuffer;
|
|
5428
5942
|
}, [import("convex/values").VObject<{
|
|
5429
5943
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5944
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5430
5945
|
type: "text";
|
|
5431
5946
|
text: string;
|
|
5432
5947
|
}, {
|
|
5433
5948
|
type: import("convex/values").VLiteral<"text", "required">;
|
|
5434
5949
|
text: import("convex/values").VString<string, "required">;
|
|
5435
5950
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
5436
|
-
|
|
5951
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
5952
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}`>, import("convex/values").VObject<{
|
|
5437
5953
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5438
5954
|
mimeType?: string | undefined;
|
|
5439
5955
|
type: "image";
|
|
@@ -5445,6 +5961,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5445
5961
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
5446
5962
|
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "image" | "mimeType">, import("convex/values").VObject<{
|
|
5447
5963
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5964
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5448
5965
|
filename?: string | undefined;
|
|
5449
5966
|
type: "file";
|
|
5450
5967
|
mimeType: string;
|
|
@@ -5455,32 +5972,38 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5455
5972
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
5456
5973
|
mimeType: import("convex/values").VString<string, "required">;
|
|
5457
5974
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
5458
|
-
|
|
5975
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
5976
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename">], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "image" | "mimeType" | "data" | "filename">, "required">], "required", never>;
|
|
5459
5977
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
5460
5978
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
5461
5979
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5462
5980
|
role: "assistant";
|
|
5463
5981
|
content: string | ({
|
|
5464
5982
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5983
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5465
5984
|
type: "text";
|
|
5466
5985
|
text: string;
|
|
5467
5986
|
} | {
|
|
5468
5987
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5988
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5469
5989
|
filename?: string | undefined;
|
|
5470
5990
|
type: "file";
|
|
5471
5991
|
mimeType: string;
|
|
5472
5992
|
data: string | ArrayBuffer;
|
|
5473
5993
|
} | {
|
|
5474
5994
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5995
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5475
5996
|
signature?: string | undefined;
|
|
5476
5997
|
type: "reasoning";
|
|
5477
5998
|
text: string;
|
|
5478
5999
|
} | {
|
|
5479
6000
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6001
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5480
6002
|
type: "redacted-reasoning";
|
|
5481
6003
|
data: string;
|
|
5482
6004
|
} | {
|
|
5483
6005
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6006
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5484
6007
|
providerExecuted?: boolean | undefined;
|
|
5485
6008
|
type: "tool-call";
|
|
5486
6009
|
toolCallId: string;
|
|
@@ -5488,6 +6011,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5488
6011
|
args: any;
|
|
5489
6012
|
} | {
|
|
5490
6013
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6014
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5491
6015
|
args?: any;
|
|
5492
6016
|
providerExecuted?: boolean | undefined;
|
|
5493
6017
|
isError?: boolean | undefined;
|
|
@@ -5508,25 +6032,30 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5508
6032
|
role: import("convex/values").VLiteral<"assistant", "required">;
|
|
5509
6033
|
content: import("convex/values").VUnion<string | ({
|
|
5510
6034
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6035
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5511
6036
|
type: "text";
|
|
5512
6037
|
text: string;
|
|
5513
6038
|
} | {
|
|
5514
6039
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6040
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5515
6041
|
filename?: string | undefined;
|
|
5516
6042
|
type: "file";
|
|
5517
6043
|
mimeType: string;
|
|
5518
6044
|
data: string | ArrayBuffer;
|
|
5519
6045
|
} | {
|
|
5520
6046
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6047
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5521
6048
|
signature?: string | undefined;
|
|
5522
6049
|
type: "reasoning";
|
|
5523
6050
|
text: string;
|
|
5524
6051
|
} | {
|
|
5525
6052
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6053
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5526
6054
|
type: "redacted-reasoning";
|
|
5527
6055
|
data: string;
|
|
5528
6056
|
} | {
|
|
5529
6057
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6058
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5530
6059
|
providerExecuted?: boolean | undefined;
|
|
5531
6060
|
type: "tool-call";
|
|
5532
6061
|
toolCallId: string;
|
|
@@ -5534,6 +6063,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5534
6063
|
args: any;
|
|
5535
6064
|
} | {
|
|
5536
6065
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6066
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5537
6067
|
args?: any;
|
|
5538
6068
|
providerExecuted?: boolean | undefined;
|
|
5539
6069
|
isError?: boolean | undefined;
|
|
@@ -5551,25 +6081,30 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5551
6081
|
result: any;
|
|
5552
6082
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
5553
6083
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6084
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5554
6085
|
type: "text";
|
|
5555
6086
|
text: string;
|
|
5556
6087
|
} | {
|
|
5557
6088
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6089
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5558
6090
|
filename?: string | undefined;
|
|
5559
6091
|
type: "file";
|
|
5560
6092
|
mimeType: string;
|
|
5561
6093
|
data: string | ArrayBuffer;
|
|
5562
6094
|
} | {
|
|
5563
6095
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6096
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5564
6097
|
signature?: string | undefined;
|
|
5565
6098
|
type: "reasoning";
|
|
5566
6099
|
text: string;
|
|
5567
6100
|
} | {
|
|
5568
6101
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6102
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5569
6103
|
type: "redacted-reasoning";
|
|
5570
6104
|
data: string;
|
|
5571
6105
|
} | {
|
|
5572
6106
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6107
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5573
6108
|
providerExecuted?: boolean | undefined;
|
|
5574
6109
|
type: "tool-call";
|
|
5575
6110
|
toolCallId: string;
|
|
@@ -5577,6 +6112,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5577
6112
|
args: any;
|
|
5578
6113
|
} | {
|
|
5579
6114
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6115
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5580
6116
|
args?: any;
|
|
5581
6117
|
providerExecuted?: boolean | undefined;
|
|
5582
6118
|
isError?: boolean | undefined;
|
|
@@ -5594,25 +6130,30 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5594
6130
|
result: any;
|
|
5595
6131
|
})[], import("convex/values").VUnion<{
|
|
5596
6132
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6133
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5597
6134
|
type: "text";
|
|
5598
6135
|
text: string;
|
|
5599
6136
|
} | {
|
|
5600
6137
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6138
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5601
6139
|
filename?: string | undefined;
|
|
5602
6140
|
type: "file";
|
|
5603
6141
|
mimeType: string;
|
|
5604
6142
|
data: string | ArrayBuffer;
|
|
5605
6143
|
} | {
|
|
5606
6144
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6145
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5607
6146
|
signature?: string | undefined;
|
|
5608
6147
|
type: "reasoning";
|
|
5609
6148
|
text: string;
|
|
5610
6149
|
} | {
|
|
5611
6150
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6151
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5612
6152
|
type: "redacted-reasoning";
|
|
5613
6153
|
data: string;
|
|
5614
6154
|
} | {
|
|
5615
6155
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6156
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5616
6157
|
providerExecuted?: boolean | undefined;
|
|
5617
6158
|
type: "tool-call";
|
|
5618
6159
|
toolCallId: string;
|
|
@@ -5620,6 +6161,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5620
6161
|
args: any;
|
|
5621
6162
|
} | {
|
|
5622
6163
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6164
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5623
6165
|
args?: any;
|
|
5624
6166
|
providerExecuted?: boolean | undefined;
|
|
5625
6167
|
isError?: boolean | undefined;
|
|
@@ -5637,14 +6179,17 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5637
6179
|
result: any;
|
|
5638
6180
|
}, [import("convex/values").VObject<{
|
|
5639
6181
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6182
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5640
6183
|
type: "text";
|
|
5641
6184
|
text: string;
|
|
5642
6185
|
}, {
|
|
5643
6186
|
type: import("convex/values").VLiteral<"text", "required">;
|
|
5644
6187
|
text: import("convex/values").VString<string, "required">;
|
|
5645
6188
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
5646
|
-
|
|
6189
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
6190
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}`>, import("convex/values").VObject<{
|
|
5647
6191
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6192
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5648
6193
|
filename?: string | undefined;
|
|
5649
6194
|
type: "file";
|
|
5650
6195
|
mimeType: string;
|
|
@@ -5655,8 +6200,10 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5655
6200
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
5656
6201
|
mimeType: import("convex/values").VString<string, "required">;
|
|
5657
6202
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
5658
|
-
|
|
6203
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
6204
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename">, import("convex/values").VObject<{
|
|
5659
6205
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6206
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5660
6207
|
signature?: string | undefined;
|
|
5661
6208
|
type: "reasoning";
|
|
5662
6209
|
text: string;
|
|
@@ -5665,16 +6212,20 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5665
6212
|
text: import("convex/values").VString<string, "required">;
|
|
5666
6213
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
5667
6214
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
5668
|
-
|
|
6215
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
6216
|
+
}, "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "signature">, import("convex/values").VObject<{
|
|
5669
6217
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6218
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5670
6219
|
type: "redacted-reasoning";
|
|
5671
6220
|
data: string;
|
|
5672
6221
|
}, {
|
|
5673
6222
|
type: import("convex/values").VLiteral<"redacted-reasoning", "required">;
|
|
5674
6223
|
data: import("convex/values").VString<string, "required">;
|
|
5675
6224
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
5676
|
-
|
|
6225
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
6226
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "data">, import("convex/values").VObject<{
|
|
5677
6227
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6228
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5678
6229
|
providerExecuted?: boolean | undefined;
|
|
5679
6230
|
type: "tool-call";
|
|
5680
6231
|
toolCallId: string;
|
|
@@ -5687,8 +6238,10 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5687
6238
|
args: import("convex/values").VAny<any, "required", string>;
|
|
5688
6239
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
5689
6240
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
5690
|
-
|
|
6241
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
6242
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}`>, import("convex/values").VObject<{
|
|
5691
6243
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6244
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5692
6245
|
args?: any;
|
|
5693
6246
|
providerExecuted?: boolean | undefined;
|
|
5694
6247
|
isError?: boolean | undefined;
|
|
@@ -5710,6 +6263,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5710
6263
|
toolName: import("convex/values").VString<string, "required">;
|
|
5711
6264
|
result: import("convex/values").VAny<any, "required", string>;
|
|
5712
6265
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
6266
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
5713
6267
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
5714
6268
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
5715
6269
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
@@ -5742,13 +6296,14 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5742
6296
|
data: import("convex/values").VString<string, "required">;
|
|
5743
6297
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
5744
6298
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
5745
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
6299
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">], "required", never>;
|
|
5746
6300
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
5747
6301
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
5748
6302
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5749
6303
|
role: "tool";
|
|
5750
6304
|
content: {
|
|
5751
6305
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6306
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5752
6307
|
args?: any;
|
|
5753
6308
|
providerExecuted?: boolean | undefined;
|
|
5754
6309
|
isError?: boolean | undefined;
|
|
@@ -5769,6 +6324,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5769
6324
|
role: import("convex/values").VLiteral<"tool", "required">;
|
|
5770
6325
|
content: import("convex/values").VArray<{
|
|
5771
6326
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6327
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5772
6328
|
args?: any;
|
|
5773
6329
|
providerExecuted?: boolean | undefined;
|
|
5774
6330
|
isError?: boolean | undefined;
|
|
@@ -5786,6 +6342,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5786
6342
|
result: any;
|
|
5787
6343
|
}[], import("convex/values").VObject<{
|
|
5788
6344
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6345
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5789
6346
|
args?: any;
|
|
5790
6347
|
providerExecuted?: boolean | undefined;
|
|
5791
6348
|
isError?: boolean | undefined;
|
|
@@ -5807,6 +6364,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5807
6364
|
toolName: import("convex/values").VString<string, "required">;
|
|
5808
6365
|
result: import("convex/values").VAny<any, "required", string>;
|
|
5809
6366
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
6367
|
+
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
5810
6368
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
5811
6369
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
5812
6370
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
@@ -5839,7 +6397,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5839
6397
|
data: import("convex/values").VString<string, "required">;
|
|
5840
6398
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
5841
6399
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
5842
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">;
|
|
6400
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">;
|
|
5843
6401
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
5844
6402
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
5845
6403
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|