@convex-dev/agent 0.0.14-alpha.1 → 0.0.14-alpha.3
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/commonjs/client/index.d.ts +27 -27
- package/dist/commonjs/client/index.d.ts.map +1 -1
- package/dist/commonjs/client/index.js +25 -38
- package/dist/commonjs/client/index.js.map +1 -1
- package/dist/commonjs/component/messages.d.ts +18 -18
- package/dist/commonjs/component/schema.d.ts +30 -30
- package/dist/commonjs/validators.d.ts +37 -37
- package/dist/commonjs/validators.d.ts.map +1 -1
- package/dist/commonjs/validators.js +6 -4
- package/dist/commonjs/validators.js.map +1 -1
- package/dist/esm/client/index.d.ts +27 -27
- package/dist/esm/client/index.d.ts.map +1 -1
- package/dist/esm/client/index.js +25 -38
- package/dist/esm/client/index.js.map +1 -1
- package/dist/esm/component/messages.d.ts +18 -18
- package/dist/esm/component/schema.d.ts +30 -30
- package/dist/esm/validators.d.ts +37 -37
- package/dist/esm/validators.d.ts.map +1 -1
- package/dist/esm/validators.js +6 -4
- package/dist/esm/validators.js.map +1 -1
- package/package.json +1 -1
- package/src/client/index.ts +64 -44
- package/src/component/_generated/api.d.ts +13 -13
- package/src/validators.ts +9 -5
|
@@ -232,7 +232,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
232
232
|
providerMetadata?: Record<string, any> | undefined;
|
|
233
233
|
sources?: {
|
|
234
234
|
title?: string | undefined;
|
|
235
|
-
providerMetadata?: Record<string, any
|
|
235
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
236
236
|
id: string;
|
|
237
237
|
sourceType: "url";
|
|
238
238
|
url: string;
|
|
@@ -765,13 +765,13 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
765
765
|
providerMetadata: import("convex/values").VRecord<Record<string, any> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "optional", string>;
|
|
766
766
|
sources: import("convex/values").VArray<{
|
|
767
767
|
title?: string | undefined;
|
|
768
|
-
providerMetadata?: Record<string, any
|
|
768
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
769
769
|
id: string;
|
|
770
770
|
sourceType: "url";
|
|
771
771
|
url: string;
|
|
772
772
|
}[] | undefined, import("convex/values").VObject<{
|
|
773
773
|
title?: string | undefined;
|
|
774
|
-
providerMetadata?: Record<string, any
|
|
774
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
775
775
|
id: string;
|
|
776
776
|
sourceType: "url";
|
|
777
777
|
url: string;
|
|
@@ -780,7 +780,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
780
780
|
id: import("convex/values").VString<string, "required">;
|
|
781
781
|
url: import("convex/values").VString<string, "required">;
|
|
782
782
|
title: import("convex/values").VString<string | undefined, "optional">;
|
|
783
|
-
providerMetadata: import("convex/values").VRecord<Record<string, any
|
|
783
|
+
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>;
|
|
784
784
|
}, "required", "id" | "title" | "providerMetadata" | "sourceType" | "url" | `providerMetadata.${string}`>, "optional">;
|
|
785
785
|
reasoning: import("convex/values").VString<string | undefined, "optional">;
|
|
786
786
|
warnings: import("convex/values").VArray<({
|
|
@@ -853,10 +853,10 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
853
853
|
totalTokens: number;
|
|
854
854
|
} | undefined;
|
|
855
855
|
finishReason?: "length" | "error" | "stop" | "content-filter" | "tool-calls" | "other" | "unknown" | undefined;
|
|
856
|
-
providerMetadata?: Record<string, any
|
|
856
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
857
857
|
sources?: {
|
|
858
858
|
title?: string | undefined;
|
|
859
|
-
providerMetadata?: Record<string, any
|
|
859
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
860
860
|
id: string;
|
|
861
861
|
sourceType: "url";
|
|
862
862
|
url: string;
|
|
@@ -1070,7 +1070,7 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
1070
1070
|
providerMetadata?: Record<string, any> | undefined;
|
|
1071
1071
|
sources?: {
|
|
1072
1072
|
title?: string | undefined;
|
|
1073
|
-
providerMetadata?: Record<string, any
|
|
1073
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1074
1074
|
id: string;
|
|
1075
1075
|
sourceType: "url";
|
|
1076
1076
|
url: string;
|
|
@@ -1112,10 +1112,10 @@ export declare const addStep: import("convex/server").RegisteredMutation<"public
|
|
|
1112
1112
|
totalTokens: number;
|
|
1113
1113
|
} | undefined;
|
|
1114
1114
|
finishReason?: "length" | "error" | "stop" | "content-filter" | "tool-calls" | "other" | "unknown" | undefined;
|
|
1115
|
-
providerMetadata?: Record<string, any
|
|
1115
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1116
1116
|
sources?: {
|
|
1117
1117
|
title?: string | undefined;
|
|
1118
|
-
providerMetadata?: Record<string, any
|
|
1118
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1119
1119
|
id: string;
|
|
1120
1120
|
sourceType: "url";
|
|
1121
1121
|
url: string;
|
|
@@ -1231,10 +1231,10 @@ export declare const addStep: import("convex/server").RegisteredMutation<"public
|
|
|
1231
1231
|
completionTokens: number;
|
|
1232
1232
|
totalTokens: number;
|
|
1233
1233
|
} | undefined;
|
|
1234
|
-
providerMetadata?: Record<string, any
|
|
1234
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1235
1235
|
sources?: {
|
|
1236
1236
|
title?: string | undefined;
|
|
1237
|
-
providerMetadata?: Record<string, any
|
|
1237
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1238
1238
|
id: string;
|
|
1239
1239
|
sourceType: "url";
|
|
1240
1240
|
url: string;
|
|
@@ -1404,10 +1404,10 @@ export declare const addStep: import("convex/server").RegisteredMutation<"public
|
|
|
1404
1404
|
completionTokens: number;
|
|
1405
1405
|
totalTokens: number;
|
|
1406
1406
|
} | undefined;
|
|
1407
|
-
providerMetadata?: Record<string, any
|
|
1407
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1408
1408
|
sources?: {
|
|
1409
1409
|
title?: string | undefined;
|
|
1410
|
-
providerMetadata?: Record<string, any
|
|
1410
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1411
1411
|
id: string;
|
|
1412
1412
|
sourceType: "url";
|
|
1413
1413
|
url: string;
|
|
@@ -1686,7 +1686,7 @@ export declare const getThreadMessages: import("convex/server").RegisteredQuery<
|
|
|
1686
1686
|
providerMetadata?: Record<string, any> | undefined;
|
|
1687
1687
|
sources?: {
|
|
1688
1688
|
title?: string | undefined;
|
|
1689
|
-
providerMetadata?: Record<string, any
|
|
1689
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1690
1690
|
id: string;
|
|
1691
1691
|
sourceType: "url";
|
|
1692
1692
|
url: string;
|
|
@@ -1829,7 +1829,7 @@ export declare const searchMessages: import("convex/server").RegisteredAction<"p
|
|
|
1829
1829
|
providerMetadata?: Record<string, any> | undefined;
|
|
1830
1830
|
sources?: {
|
|
1831
1831
|
title?: string | undefined;
|
|
1832
|
-
providerMetadata?: Record<string, any
|
|
1832
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1833
1833
|
id: string;
|
|
1834
1834
|
sourceType: "url";
|
|
1835
1835
|
url: string;
|
|
@@ -1961,7 +1961,7 @@ export declare const _fetchVectorMessages: import("convex/server").RegisteredQue
|
|
|
1961
1961
|
providerMetadata?: Record<string, any> | undefined;
|
|
1962
1962
|
sources?: {
|
|
1963
1963
|
title?: string | undefined;
|
|
1964
|
-
providerMetadata?: Record<string, any
|
|
1964
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1965
1965
|
id: string;
|
|
1966
1966
|
sourceType: "url";
|
|
1967
1967
|
url: string;
|
|
@@ -2099,7 +2099,7 @@ export declare const _fetchVectorMessages: import("convex/server").RegisteredQue
|
|
|
2099
2099
|
providerMetadata?: Record<string, any> | undefined;
|
|
2100
2100
|
sources?: {
|
|
2101
2101
|
title?: string | undefined;
|
|
2102
|
-
providerMetadata?: Record<string, any
|
|
2102
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2103
2103
|
id: string;
|
|
2104
2104
|
sourceType: "url";
|
|
2105
2105
|
url: string;
|
|
@@ -2234,7 +2234,7 @@ export declare const textSearch: import("convex/server").RegisteredQuery<"public
|
|
|
2234
2234
|
providerMetadata?: Record<string, any> | undefined;
|
|
2235
2235
|
sources?: {
|
|
2236
2236
|
title?: string | undefined;
|
|
2237
|
-
providerMetadata?: Record<string, any
|
|
2237
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2238
2238
|
id: string;
|
|
2239
2239
|
sourceType: "url";
|
|
2240
2240
|
url: string;
|
|
@@ -347,7 +347,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
347
347
|
providerMetadata?: Record<string, any> | undefined;
|
|
348
348
|
sources?: {
|
|
349
349
|
title?: string | undefined;
|
|
350
|
-
providerMetadata?: Record<string, any
|
|
350
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
351
351
|
id: string;
|
|
352
352
|
sourceType: "url";
|
|
353
353
|
url: string;
|
|
@@ -880,13 +880,13 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
880
880
|
providerMetadata: import("convex/values").VRecord<Record<string, any> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "optional", string>;
|
|
881
881
|
sources: import("convex/values").VArray<{
|
|
882
882
|
title?: string | undefined;
|
|
883
|
-
providerMetadata?: Record<string, any
|
|
883
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
884
884
|
id: string;
|
|
885
885
|
sourceType: "url";
|
|
886
886
|
url: string;
|
|
887
887
|
}[] | undefined, import("convex/values").VObject<{
|
|
888
888
|
title?: string | undefined;
|
|
889
|
-
providerMetadata?: Record<string, any
|
|
889
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
890
890
|
id: string;
|
|
891
891
|
sourceType: "url";
|
|
892
892
|
url: string;
|
|
@@ -895,7 +895,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
895
895
|
id: import("convex/values").VString<string, "required">;
|
|
896
896
|
url: import("convex/values").VString<string, "required">;
|
|
897
897
|
title: import("convex/values").VString<string | undefined, "optional">;
|
|
898
|
-
providerMetadata: import("convex/values").VRecord<Record<string, any
|
|
898
|
+
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>;
|
|
899
899
|
}, "required", "id" | "title" | "providerMetadata" | "sourceType" | "url" | `providerMetadata.${string}`>, "optional">;
|
|
900
900
|
reasoning: import("convex/values").VString<string | undefined, "optional">;
|
|
901
901
|
warnings: import("convex/values").VArray<({
|
|
@@ -970,10 +970,10 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
970
970
|
completionTokens: number;
|
|
971
971
|
totalTokens: number;
|
|
972
972
|
} | undefined;
|
|
973
|
-
providerMetadata?: Record<string, any
|
|
973
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
974
974
|
sources?: {
|
|
975
975
|
title?: string | undefined;
|
|
976
|
-
providerMetadata?: Record<string, any
|
|
976
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
977
977
|
id: string;
|
|
978
978
|
sourceType: "url";
|
|
979
979
|
url: string;
|
|
@@ -1138,10 +1138,10 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1138
1138
|
completionTokens: number;
|
|
1139
1139
|
totalTokens: number;
|
|
1140
1140
|
} | undefined;
|
|
1141
|
-
providerMetadata?: Record<string, any
|
|
1141
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1142
1142
|
sources?: {
|
|
1143
1143
|
title?: string | undefined;
|
|
1144
|
-
providerMetadata?: Record<string, any
|
|
1144
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1145
1145
|
id: string;
|
|
1146
1146
|
sourceType: "url";
|
|
1147
1147
|
url: string;
|
|
@@ -1297,7 +1297,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1297
1297
|
finishReason: import("convex/values").VUnion<"length" | "error" | "stop" | "content-filter" | "tool-calls" | "other" | "unknown", [import("convex/values").VLiteral<"stop", "required">, import("convex/values").VLiteral<"length", "required">, import("convex/values").VLiteral<"content-filter", "required">, import("convex/values").VLiteral<"tool-calls", "required">, import("convex/values").VLiteral<"error", "required">, import("convex/values").VLiteral<"other", "required">, import("convex/values").VLiteral<"unknown", "required">], "required", never>;
|
|
1298
1298
|
isContinued: import("convex/values").VBoolean<boolean, "required">;
|
|
1299
1299
|
logprobs: import("convex/values").VAny<any, "optional", string>;
|
|
1300
|
-
providerMetadata: import("convex/values").VRecord<Record<string, any
|
|
1300
|
+
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>;
|
|
1301
1301
|
providerOptions: import("convex/values").VRecord<Record<string, any> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "optional", string>;
|
|
1302
1302
|
reasoning: import("convex/values").VString<string | undefined, "optional">;
|
|
1303
1303
|
reasoningDetails: import("convex/values").VArray<any[] | undefined, import("convex/values").VAny<any, "required", string>, "optional">;
|
|
@@ -2072,13 +2072,13 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
2072
2072
|
}, "optional", "id" | "messages" | "body" | "headers" | `body.${string}` | `headers.${string}` | "timestamp" | "modelId">;
|
|
2073
2073
|
sources: import("convex/values").VArray<{
|
|
2074
2074
|
title?: string | undefined;
|
|
2075
|
-
providerMetadata?: Record<string, any
|
|
2075
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2076
2076
|
id: string;
|
|
2077
2077
|
sourceType: "url";
|
|
2078
2078
|
url: string;
|
|
2079
2079
|
}[] | undefined, import("convex/values").VObject<{
|
|
2080
2080
|
title?: string | undefined;
|
|
2081
|
-
providerMetadata?: Record<string, any
|
|
2081
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2082
2082
|
id: string;
|
|
2083
2083
|
sourceType: "url";
|
|
2084
2084
|
url: string;
|
|
@@ -2087,7 +2087,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
2087
2087
|
id: import("convex/values").VString<string, "required">;
|
|
2088
2088
|
url: import("convex/values").VString<string, "required">;
|
|
2089
2089
|
title: import("convex/values").VString<string | undefined, "optional">;
|
|
2090
|
-
providerMetadata: import("convex/values").VRecord<Record<string, any
|
|
2090
|
+
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>;
|
|
2091
2091
|
}, "required", "id" | "title" | "providerMetadata" | "sourceType" | "url" | `providerMetadata.${string}`>, "optional">;
|
|
2092
2092
|
stepType: import("convex/values").VUnion<"tool-result" | "initial" | "continue", [import("convex/values").VLiteral<"initial", "required">, import("convex/values").VLiteral<"continue", "required">, import("convex/values").VLiteral<"tool-result", "required">], "required", never>;
|
|
2093
2093
|
text: import("convex/values").VString<string, "required">;
|
|
@@ -2404,7 +2404,7 @@ export declare const vv: {
|
|
|
2404
2404
|
providerMetadata?: Record<string, any> | undefined;
|
|
2405
2405
|
sources?: {
|
|
2406
2406
|
title?: string | undefined;
|
|
2407
|
-
providerMetadata?: Record<string, any
|
|
2407
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2408
2408
|
id: string;
|
|
2409
2409
|
sourceType: "url";
|
|
2410
2410
|
url: string;
|
|
@@ -2462,10 +2462,10 @@ export declare const vv: {
|
|
|
2462
2462
|
completionTokens: number;
|
|
2463
2463
|
totalTokens: number;
|
|
2464
2464
|
} | undefined;
|
|
2465
|
-
providerMetadata?: Record<string, any
|
|
2465
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2466
2466
|
sources?: {
|
|
2467
2467
|
title?: string | undefined;
|
|
2468
|
-
providerMetadata?: Record<string, any
|
|
2468
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2469
2469
|
id: string;
|
|
2470
2470
|
sourceType: "url";
|
|
2471
2471
|
url: string;
|
|
@@ -3038,7 +3038,7 @@ export declare const vv: {
|
|
|
3038
3038
|
providerMetadata?: Record<string, any> | undefined;
|
|
3039
3039
|
sources?: {
|
|
3040
3040
|
title?: string | undefined;
|
|
3041
|
-
providerMetadata?: Record<string, any
|
|
3041
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3042
3042
|
id: string;
|
|
3043
3043
|
sourceType: "url";
|
|
3044
3044
|
url: string;
|
|
@@ -3096,10 +3096,10 @@ export declare const vv: {
|
|
|
3096
3096
|
completionTokens: number;
|
|
3097
3097
|
totalTokens: number;
|
|
3098
3098
|
} | undefined;
|
|
3099
|
-
providerMetadata?: Record<string, any
|
|
3099
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3100
3100
|
sources?: {
|
|
3101
3101
|
title?: string | undefined;
|
|
3102
|
-
providerMetadata?: Record<string, any
|
|
3102
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3103
3103
|
id: string;
|
|
3104
3104
|
sourceType: "url";
|
|
3105
3105
|
url: string;
|
|
@@ -3891,7 +3891,7 @@ export declare const vv: {
|
|
|
3891
3891
|
providerMetadata?: Record<string, any> | undefined;
|
|
3892
3892
|
sources?: {
|
|
3893
3893
|
title?: string | undefined;
|
|
3894
|
-
providerMetadata?: Record<string, any
|
|
3894
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3895
3895
|
id: string;
|
|
3896
3896
|
sourceType: "url";
|
|
3897
3897
|
url: string;
|
|
@@ -4424,13 +4424,13 @@ export declare const vv: {
|
|
|
4424
4424
|
providerMetadata: import("convex/values").VRecord<Record<string, any> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "optional", string>;
|
|
4425
4425
|
sources: import("convex/values").VArray<{
|
|
4426
4426
|
title?: string | undefined;
|
|
4427
|
-
providerMetadata?: Record<string, any
|
|
4427
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4428
4428
|
id: string;
|
|
4429
4429
|
sourceType: "url";
|
|
4430
4430
|
url: string;
|
|
4431
4431
|
}[] | undefined, import("convex/values").VObject<{
|
|
4432
4432
|
title?: string | undefined;
|
|
4433
|
-
providerMetadata?: Record<string, any
|
|
4433
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4434
4434
|
id: string;
|
|
4435
4435
|
sourceType: "url";
|
|
4436
4436
|
url: string;
|
|
@@ -4439,7 +4439,7 @@ export declare const vv: {
|
|
|
4439
4439
|
id: import("convex/values").VString<string, "required">;
|
|
4440
4440
|
url: import("convex/values").VString<string, "required">;
|
|
4441
4441
|
title: import("convex/values").VString<string | undefined, "optional">;
|
|
4442
|
-
providerMetadata: import("convex/values").VRecord<Record<string, any
|
|
4442
|
+
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>;
|
|
4443
4443
|
}, "required", "id" | "title" | "providerMetadata" | "sourceType" | "url" | `providerMetadata.${string}`>, "optional">;
|
|
4444
4444
|
reasoning: import("convex/values").VString<string | undefined, "optional">;
|
|
4445
4445
|
warnings: import("convex/values").VArray<({
|
|
@@ -4514,10 +4514,10 @@ export declare const vv: {
|
|
|
4514
4514
|
completionTokens: number;
|
|
4515
4515
|
totalTokens: number;
|
|
4516
4516
|
} | undefined;
|
|
4517
|
-
providerMetadata?: Record<string, any
|
|
4517
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4518
4518
|
sources?: {
|
|
4519
4519
|
title?: string | undefined;
|
|
4520
|
-
providerMetadata?: Record<string, any
|
|
4520
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4521
4521
|
id: string;
|
|
4522
4522
|
sourceType: "url";
|
|
4523
4523
|
url: string;
|
|
@@ -4682,10 +4682,10 @@ export declare const vv: {
|
|
|
4682
4682
|
completionTokens: number;
|
|
4683
4683
|
totalTokens: number;
|
|
4684
4684
|
} | undefined;
|
|
4685
|
-
providerMetadata?: Record<string, any
|
|
4685
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4686
4686
|
sources?: {
|
|
4687
4687
|
title?: string | undefined;
|
|
4688
|
-
providerMetadata?: Record<string, any
|
|
4688
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4689
4689
|
id: string;
|
|
4690
4690
|
sourceType: "url";
|
|
4691
4691
|
url: string;
|
|
@@ -4841,7 +4841,7 @@ export declare const vv: {
|
|
|
4841
4841
|
finishReason: import("convex/values").VUnion<"length" | "error" | "stop" | "content-filter" | "tool-calls" | "other" | "unknown", [import("convex/values").VLiteral<"stop", "required">, import("convex/values").VLiteral<"length", "required">, import("convex/values").VLiteral<"content-filter", "required">, import("convex/values").VLiteral<"tool-calls", "required">, import("convex/values").VLiteral<"error", "required">, import("convex/values").VLiteral<"other", "required">, import("convex/values").VLiteral<"unknown", "required">], "required", never>;
|
|
4842
4842
|
isContinued: import("convex/values").VBoolean<boolean, "required">;
|
|
4843
4843
|
logprobs: import("convex/values").VAny<any, "optional", string>;
|
|
4844
|
-
providerMetadata: import("convex/values").VRecord<Record<string, any
|
|
4844
|
+
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>;
|
|
4845
4845
|
providerOptions: import("convex/values").VRecord<Record<string, any> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "optional", string>;
|
|
4846
4846
|
reasoning: import("convex/values").VString<string | undefined, "optional">;
|
|
4847
4847
|
reasoningDetails: import("convex/values").VArray<any[] | undefined, import("convex/values").VAny<any, "required", string>, "optional">;
|
|
@@ -5616,13 +5616,13 @@ export declare const vv: {
|
|
|
5616
5616
|
}, "optional", "id" | "messages" | "body" | "headers" | `body.${string}` | `headers.${string}` | "timestamp" | "modelId">;
|
|
5617
5617
|
sources: import("convex/values").VArray<{
|
|
5618
5618
|
title?: string | undefined;
|
|
5619
|
-
providerMetadata?: Record<string, any
|
|
5619
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5620
5620
|
id: string;
|
|
5621
5621
|
sourceType: "url";
|
|
5622
5622
|
url: string;
|
|
5623
5623
|
}[] | undefined, import("convex/values").VObject<{
|
|
5624
5624
|
title?: string | undefined;
|
|
5625
|
-
providerMetadata?: Record<string, any
|
|
5625
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5626
5626
|
id: string;
|
|
5627
5627
|
sourceType: "url";
|
|
5628
5628
|
url: string;
|
|
@@ -5631,7 +5631,7 @@ export declare const vv: {
|
|
|
5631
5631
|
id: import("convex/values").VString<string, "required">;
|
|
5632
5632
|
url: import("convex/values").VString<string, "required">;
|
|
5633
5633
|
title: import("convex/values").VString<string | undefined, "optional">;
|
|
5634
|
-
providerMetadata: import("convex/values").VRecord<Record<string, any
|
|
5634
|
+
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>;
|
|
5635
5635
|
}, "required", "id" | "title" | "providerMetadata" | "sourceType" | "url" | `providerMetadata.${string}`>, "optional">;
|
|
5636
5636
|
stepType: import("convex/values").VUnion<"tool-result" | "initial" | "continue", [import("convex/values").VLiteral<"initial", "required">, import("convex/values").VLiteral<"continue", "required">, import("convex/values").VLiteral<"tool-result", "required">], "required", never>;
|
|
5637
5637
|
text: import("convex/values").VString<string, "required">;
|