@arizeai/phoenix-client 5.5.4 → 5.6.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/esm/__generated__/api/v1.d.ts +5 -5
- package/dist/esm/__generated__/api/v1.d.ts.map +1 -1
- package/dist/esm/config.d.ts.map +1 -1
- package/dist/esm/config.js +5 -23
- package/dist/esm/config.js.map +1 -1
- package/dist/esm/schemas/llm/anthropic/converters.d.ts +82 -82
- package/dist/esm/schemas/llm/anthropic/messagePartSchemas.d.ts +28 -28
- package/dist/esm/schemas/llm/anthropic/messageSchemas.d.ts +84 -84
- package/dist/esm/schemas/llm/anthropic/toolCallSchemas.d.ts +4 -4
- package/dist/esm/schemas/llm/anthropic/toolChoiceSchemas.d.ts +2 -2
- package/dist/esm/schemas/llm/constants.d.ts +46 -46
- package/dist/esm/schemas/llm/converters.d.ts +184 -184
- package/dist/esm/schemas/llm/openai/converters.d.ts +32 -32
- package/dist/esm/schemas/llm/openai/messageSchemas.d.ts +6 -6
- package/dist/esm/schemas/llm/openai/toolCallSchemas.d.ts +2 -2
- package/dist/esm/schemas/llm/phoenixPrompt/converters.d.ts +19 -19
- package/dist/esm/schemas/llm/phoenixPrompt/messagePartSchemas.d.ts +8 -8
- package/dist/esm/schemas/llm/phoenixPrompt/messageSchemas.d.ts +12 -12
- package/dist/esm/schemas/llm/phoenixPrompt/toolCallSchemas.d.ts +4 -4
- package/dist/esm/schemas/llm/schemas.d.ts +79 -79
- package/dist/esm/schemas/llm/vercel/messagePartSchemas.d.ts +8 -8
- package/dist/esm/schemas/llm/vercel/messageSchemas.d.ts +8 -8
- package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/esm/utils/formatPromptMessages.d.ts.map +1 -1
- package/dist/esm/utils/getPromptBySelector.d.ts.map +1 -1
- package/dist/src/__generated__/api/v1.d.ts +5 -5
- package/dist/src/__generated__/api/v1.d.ts.map +1 -1
- package/dist/src/config.d.ts.map +1 -1
- package/dist/src/config.js +5 -27
- package/dist/src/config.js.map +1 -1
- package/dist/src/schemas/llm/anthropic/converters.d.ts +82 -82
- package/dist/src/schemas/llm/anthropic/messagePartSchemas.d.ts +28 -28
- package/dist/src/schemas/llm/anthropic/messageSchemas.d.ts +84 -84
- package/dist/src/schemas/llm/anthropic/toolCallSchemas.d.ts +4 -4
- package/dist/src/schemas/llm/anthropic/toolChoiceSchemas.d.ts +2 -2
- package/dist/src/schemas/llm/constants.d.ts +46 -46
- package/dist/src/schemas/llm/converters.d.ts +184 -184
- package/dist/src/schemas/llm/openai/converters.d.ts +32 -32
- package/dist/src/schemas/llm/openai/messageSchemas.d.ts +6 -6
- package/dist/src/schemas/llm/openai/toolCallSchemas.d.ts +2 -2
- package/dist/src/schemas/llm/phoenixPrompt/converters.d.ts +19 -19
- package/dist/src/schemas/llm/phoenixPrompt/messagePartSchemas.d.ts +8 -8
- package/dist/src/schemas/llm/phoenixPrompt/messageSchemas.d.ts +12 -12
- package/dist/src/schemas/llm/phoenixPrompt/toolCallSchemas.d.ts +4 -4
- package/dist/src/schemas/llm/schemas.d.ts +79 -79
- package/dist/src/schemas/llm/vercel/messagePartSchemas.d.ts +8 -8
- package/dist/src/schemas/llm/vercel/messageSchemas.d.ts +8 -8
- package/dist/src/utils/formatPromptMessages.d.ts.map +1 -1
- package/dist/src/utils/getPromptBySelector.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -4
- package/src/__generated__/api/v1.ts +5 -5
- package/src/config.ts +11 -28
|
@@ -8,15 +8,15 @@ export declare const anthropicToolCallSchema: z.ZodObject<{
|
|
|
8
8
|
name: z.ZodString;
|
|
9
9
|
input: z.ZodType<import("../../jsonLiteralSchema").JSONLiteral, z.ZodTypeDef, import("../../jsonLiteralSchema").JSONLiteral>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
type: "tool_use";
|
|
12
11
|
name: string;
|
|
13
12
|
id: string;
|
|
14
13
|
input: import("../../jsonLiteralSchema").JSONLiteral;
|
|
15
|
-
}, {
|
|
16
14
|
type: "tool_use";
|
|
15
|
+
}, {
|
|
17
16
|
name: string;
|
|
18
17
|
id: string;
|
|
19
18
|
input: import("../../jsonLiteralSchema").JSONLiteral;
|
|
19
|
+
type: "tool_use";
|
|
20
20
|
}>;
|
|
21
21
|
/**
|
|
22
22
|
* The type of an Anthropic tool call
|
|
@@ -31,15 +31,15 @@ export declare const anthropicToolCallsSchema: z.ZodArray<z.ZodObject<{
|
|
|
31
31
|
name: z.ZodString;
|
|
32
32
|
input: z.ZodType<import("../../jsonLiteralSchema").JSONLiteral, z.ZodTypeDef, import("../../jsonLiteralSchema").JSONLiteral>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
type: "tool_use";
|
|
35
34
|
name: string;
|
|
36
35
|
id: string;
|
|
37
36
|
input: import("../../jsonLiteralSchema").JSONLiteral;
|
|
38
|
-
}, {
|
|
39
37
|
type: "tool_use";
|
|
38
|
+
}, {
|
|
40
39
|
name: string;
|
|
41
40
|
id: string;
|
|
42
41
|
input: import("../../jsonLiteralSchema").JSONLiteral;
|
|
42
|
+
type: "tool_use";
|
|
43
43
|
}>, "many">;
|
|
44
44
|
/**
|
|
45
45
|
* Creates an empty Anthropic tool call with fields but no values filled in
|
|
@@ -8,11 +8,11 @@ export declare const anthropicToolChoiceSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
8
8
|
type: z.ZodLiteral<"tool">;
|
|
9
9
|
name: z.ZodString;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
type: "tool";
|
|
12
11
|
name: string;
|
|
13
|
-
}, {
|
|
14
12
|
type: "tool";
|
|
13
|
+
}, {
|
|
15
14
|
name: string;
|
|
15
|
+
type: "tool";
|
|
16
16
|
}>, z.ZodObject<{
|
|
17
17
|
type: z.ZodLiteral<"auto">;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -44,8 +44,8 @@ export declare const SDKProviderConverterMap: {
|
|
|
44
44
|
} & {
|
|
45
45
|
[k: string]: unknown;
|
|
46
46
|
};
|
|
47
|
-
type: "function";
|
|
48
47
|
id: string;
|
|
48
|
+
type: "function";
|
|
49
49
|
}, {
|
|
50
50
|
function: {
|
|
51
51
|
name: string;
|
|
@@ -90,8 +90,8 @@ export declare const SDKProviderConverterMap: {
|
|
|
90
90
|
} & {
|
|
91
91
|
[k: string]: unknown;
|
|
92
92
|
};
|
|
93
|
-
type: "function";
|
|
94
93
|
id: string;
|
|
94
|
+
type: "function";
|
|
95
95
|
}, {
|
|
96
96
|
function: {
|
|
97
97
|
name: string;
|
|
@@ -136,8 +136,8 @@ export declare const SDKProviderConverterMap: {
|
|
|
136
136
|
} & {
|
|
137
137
|
[k: string]: unknown;
|
|
138
138
|
};
|
|
139
|
-
type: "function";
|
|
140
139
|
id: string;
|
|
140
|
+
type: "function";
|
|
141
141
|
}, {
|
|
142
142
|
function: {
|
|
143
143
|
name: string;
|
|
@@ -440,8 +440,8 @@ export declare const SDKProviderConverterMap: {
|
|
|
440
440
|
} & {
|
|
441
441
|
[k: string]: unknown;
|
|
442
442
|
};
|
|
443
|
-
type: "function";
|
|
444
443
|
id: string;
|
|
444
|
+
type: "function";
|
|
445
445
|
}, {
|
|
446
446
|
function: {
|
|
447
447
|
name: string;
|
|
@@ -1972,8 +1972,8 @@ export declare const SDKProviderConverterMap: {
|
|
|
1972
1972
|
} & {
|
|
1973
1973
|
[k: string]: unknown;
|
|
1974
1974
|
};
|
|
1975
|
-
type: "function";
|
|
1976
1975
|
id: string;
|
|
1976
|
+
type: "function";
|
|
1977
1977
|
}, {
|
|
1978
1978
|
function: {
|
|
1979
1979
|
name: string;
|
|
@@ -2018,8 +2018,8 @@ export declare const SDKProviderConverterMap: {
|
|
|
2018
2018
|
} & {
|
|
2019
2019
|
[k: string]: unknown;
|
|
2020
2020
|
};
|
|
2021
|
-
type: "function";
|
|
2022
2021
|
id: string;
|
|
2022
|
+
type: "function";
|
|
2023
2023
|
}, {
|
|
2024
2024
|
function: {
|
|
2025
2025
|
name: string;
|
|
@@ -2064,8 +2064,8 @@ export declare const SDKProviderConverterMap: {
|
|
|
2064
2064
|
} & {
|
|
2065
2065
|
[k: string]: unknown;
|
|
2066
2066
|
};
|
|
2067
|
-
type: "function";
|
|
2068
2067
|
id: string;
|
|
2068
|
+
type: "function";
|
|
2069
2069
|
}, {
|
|
2070
2070
|
function: {
|
|
2071
2071
|
name: string;
|
|
@@ -2368,8 +2368,8 @@ export declare const SDKProviderConverterMap: {
|
|
|
2368
2368
|
} & {
|
|
2369
2369
|
[k: string]: unknown;
|
|
2370
2370
|
};
|
|
2371
|
-
type: "function";
|
|
2372
2371
|
id: string;
|
|
2372
|
+
type: "function";
|
|
2373
2373
|
}, {
|
|
2374
2374
|
function: {
|
|
2375
2375
|
name: string;
|
|
@@ -3900,8 +3900,8 @@ export declare const SDKProviderConverterMap: {
|
|
|
3900
3900
|
} & {
|
|
3901
3901
|
[k: string]: unknown;
|
|
3902
3902
|
};
|
|
3903
|
-
type: "function";
|
|
3904
3903
|
id: string;
|
|
3904
|
+
type: "function";
|
|
3905
3905
|
}, {
|
|
3906
3906
|
function: {
|
|
3907
3907
|
name: string;
|
|
@@ -3946,8 +3946,8 @@ export declare const SDKProviderConverterMap: {
|
|
|
3946
3946
|
} & {
|
|
3947
3947
|
[k: string]: unknown;
|
|
3948
3948
|
};
|
|
3949
|
-
type: "function";
|
|
3950
3949
|
id: string;
|
|
3950
|
+
type: "function";
|
|
3951
3951
|
}, {
|
|
3952
3952
|
function: {
|
|
3953
3953
|
name: string;
|
|
@@ -3992,8 +3992,8 @@ export declare const SDKProviderConverterMap: {
|
|
|
3992
3992
|
} & {
|
|
3993
3993
|
[k: string]: unknown;
|
|
3994
3994
|
};
|
|
3995
|
-
type: "function";
|
|
3996
3995
|
id: string;
|
|
3996
|
+
type: "function";
|
|
3997
3997
|
}, {
|
|
3998
3998
|
function: {
|
|
3999
3999
|
name: string;
|
|
@@ -4247,26 +4247,26 @@ export declare const SDKProviderConverterMap: {
|
|
|
4247
4247
|
media_type: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>;
|
|
4248
4248
|
type: z.ZodLiteral<"base64">;
|
|
4249
4249
|
}, "strip", z.ZodTypeAny, {
|
|
4250
|
-
type: "base64";
|
|
4251
4250
|
data: string;
|
|
4251
|
+
type: "base64";
|
|
4252
4252
|
media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
|
|
4253
4253
|
}, {
|
|
4254
|
-
type: "base64";
|
|
4255
4254
|
data: string;
|
|
4255
|
+
type: "base64";
|
|
4256
4256
|
media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
|
|
4257
4257
|
}>;
|
|
4258
4258
|
}, "strip", z.ZodTypeAny, {
|
|
4259
4259
|
type: "image";
|
|
4260
4260
|
source: {
|
|
4261
|
-
type: "base64";
|
|
4262
4261
|
data: string;
|
|
4262
|
+
type: "base64";
|
|
4263
4263
|
media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
|
|
4264
4264
|
};
|
|
4265
4265
|
}, {
|
|
4266
4266
|
type: "image";
|
|
4267
4267
|
source: {
|
|
4268
|
-
type: "base64";
|
|
4269
4268
|
data: string;
|
|
4269
|
+
type: "base64";
|
|
4270
4270
|
media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
|
|
4271
4271
|
};
|
|
4272
4272
|
}>, z.ZodObject<{
|
|
@@ -4275,15 +4275,15 @@ export declare const SDKProviderConverterMap: {
|
|
|
4275
4275
|
name: z.ZodString;
|
|
4276
4276
|
input: z.ZodType<import("../jsonLiteralSchema").JSONLiteral, z.ZodTypeDef, import("../jsonLiteralSchema").JSONLiteral>;
|
|
4277
4277
|
}, "strip", z.ZodTypeAny, {
|
|
4278
|
-
type: "tool_use";
|
|
4279
4278
|
name: string;
|
|
4280
4279
|
id: string;
|
|
4281
4280
|
input: import("../jsonLiteralSchema").JSONLiteral;
|
|
4282
|
-
}, {
|
|
4283
4281
|
type: "tool_use";
|
|
4282
|
+
}, {
|
|
4284
4283
|
name: string;
|
|
4285
4284
|
id: string;
|
|
4286
4285
|
input: import("../jsonLiteralSchema").JSONLiteral;
|
|
4286
|
+
type: "tool_use";
|
|
4287
4287
|
}>, z.ZodObject<{
|
|
4288
4288
|
type: z.ZodLiteral<"tool_result">;
|
|
4289
4289
|
tool_use_id: z.ZodString;
|
|
@@ -4303,58 +4303,58 @@ export declare const SDKProviderConverterMap: {
|
|
|
4303
4303
|
media_type: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>;
|
|
4304
4304
|
type: z.ZodLiteral<"base64">;
|
|
4305
4305
|
}, "strip", z.ZodTypeAny, {
|
|
4306
|
-
type: "base64";
|
|
4307
4306
|
data: string;
|
|
4307
|
+
type: "base64";
|
|
4308
4308
|
media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
|
|
4309
4309
|
}, {
|
|
4310
|
-
type: "base64";
|
|
4311
4310
|
data: string;
|
|
4311
|
+
type: "base64";
|
|
4312
4312
|
media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
|
|
4313
4313
|
}>;
|
|
4314
4314
|
}, "strip", z.ZodTypeAny, {
|
|
4315
4315
|
type: "image";
|
|
4316
4316
|
source: {
|
|
4317
|
-
type: "base64";
|
|
4318
4317
|
data: string;
|
|
4318
|
+
type: "base64";
|
|
4319
4319
|
media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
|
|
4320
4320
|
};
|
|
4321
4321
|
}, {
|
|
4322
4322
|
type: "image";
|
|
4323
4323
|
source: {
|
|
4324
|
-
type: "base64";
|
|
4325
4324
|
data: string;
|
|
4325
|
+
type: "base64";
|
|
4326
4326
|
media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
|
|
4327
4327
|
};
|
|
4328
4328
|
}>]>, "many">]>;
|
|
4329
4329
|
is_error: z.ZodOptional<z.ZodBoolean>;
|
|
4330
4330
|
}, "strip", z.ZodTypeAny, {
|
|
4331
|
-
type: "tool_result";
|
|
4332
4331
|
content: string | ({
|
|
4333
4332
|
text: string;
|
|
4334
4333
|
type: "text";
|
|
4335
4334
|
} | {
|
|
4336
4335
|
type: "image";
|
|
4337
4336
|
source: {
|
|
4338
|
-
type: "base64";
|
|
4339
4337
|
data: string;
|
|
4338
|
+
type: "base64";
|
|
4340
4339
|
media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
|
|
4341
4340
|
};
|
|
4342
4341
|
})[];
|
|
4342
|
+
type: "tool_result";
|
|
4343
4343
|
tool_use_id: string;
|
|
4344
4344
|
is_error?: boolean | undefined;
|
|
4345
4345
|
}, {
|
|
4346
|
-
type: "tool_result";
|
|
4347
4346
|
content: string | ({
|
|
4348
4347
|
text: string;
|
|
4349
4348
|
type: "text";
|
|
4350
4349
|
} | {
|
|
4351
4350
|
type: "image";
|
|
4352
4351
|
source: {
|
|
4353
|
-
type: "base64";
|
|
4354
4352
|
data: string;
|
|
4353
|
+
type: "base64";
|
|
4355
4354
|
media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
|
|
4356
4355
|
};
|
|
4357
4356
|
})[];
|
|
4357
|
+
type: "tool_result";
|
|
4358
4358
|
tool_use_id: string;
|
|
4359
4359
|
is_error?: boolean | undefined;
|
|
4360
4360
|
}>]>, "many">]>;
|
|
@@ -4392,8 +4392,8 @@ export declare const SDKProviderConverterMap: {
|
|
|
4392
4392
|
} & {
|
|
4393
4393
|
[k: string]: unknown;
|
|
4394
4394
|
};
|
|
4395
|
-
type: "function";
|
|
4396
4395
|
id: string;
|
|
4396
|
+
type: "function";
|
|
4397
4397
|
}, {
|
|
4398
4398
|
function: {
|
|
4399
4399
|
name: string;
|
|
@@ -4547,8 +4547,8 @@ export declare const SDKProviderConverterMap: {
|
|
|
4547
4547
|
};
|
|
4548
4548
|
type: "function";
|
|
4549
4549
|
}>]>, {
|
|
4550
|
-
type: "tool";
|
|
4551
4550
|
name: string;
|
|
4551
|
+
type: "tool";
|
|
4552
4552
|
} | {
|
|
4553
4553
|
type: "auto";
|
|
4554
4554
|
} | {
|
|
@@ -4578,8 +4578,8 @@ export declare const SDKProviderConverterMap: {
|
|
|
4578
4578
|
} & {
|
|
4579
4579
|
[k: string]: unknown;
|
|
4580
4580
|
};
|
|
4581
|
-
type: "function";
|
|
4582
4581
|
id: string;
|
|
4582
|
+
type: "function";
|
|
4583
4583
|
}, {
|
|
4584
4584
|
function: {
|
|
4585
4585
|
name: string;
|
|
@@ -4590,10 +4590,10 @@ export declare const SDKProviderConverterMap: {
|
|
|
4590
4590
|
id: string;
|
|
4591
4591
|
type?: "function" | undefined;
|
|
4592
4592
|
}>, {
|
|
4593
|
-
type: "tool_use";
|
|
4594
4593
|
name: string;
|
|
4595
4594
|
id: string;
|
|
4596
4595
|
input: import("../jsonLiteralSchema").JSONLiteral;
|
|
4596
|
+
type: "tool_use";
|
|
4597
4597
|
}, {
|
|
4598
4598
|
function: {
|
|
4599
4599
|
name: string;
|
|
@@ -6339,8 +6339,8 @@ export declare const SDKProviderConverterMap: {
|
|
|
6339
6339
|
} & {
|
|
6340
6340
|
[k: string]: unknown;
|
|
6341
6341
|
};
|
|
6342
|
-
type: "function";
|
|
6343
6342
|
id: string;
|
|
6343
|
+
type: "function";
|
|
6344
6344
|
}, {
|
|
6345
6345
|
function: {
|
|
6346
6346
|
name: string;
|
|
@@ -6385,8 +6385,8 @@ export declare const SDKProviderConverterMap: {
|
|
|
6385
6385
|
} & {
|
|
6386
6386
|
[k: string]: unknown;
|
|
6387
6387
|
};
|
|
6388
|
-
type: "function";
|
|
6389
6388
|
id: string;
|
|
6389
|
+
type: "function";
|
|
6390
6390
|
}, {
|
|
6391
6391
|
function: {
|
|
6392
6392
|
name: string;
|
|
@@ -6431,8 +6431,8 @@ export declare const SDKProviderConverterMap: {
|
|
|
6431
6431
|
} & {
|
|
6432
6432
|
[k: string]: unknown;
|
|
6433
6433
|
};
|
|
6434
|
-
type: "function";
|
|
6435
6434
|
id: string;
|
|
6435
|
+
type: "function";
|
|
6436
6436
|
}, {
|
|
6437
6437
|
function: {
|
|
6438
6438
|
name: string;
|
|
@@ -6674,8 +6674,8 @@ export declare const SDKProviderConverterMap: {
|
|
|
6674
6674
|
type: "text";
|
|
6675
6675
|
} | {
|
|
6676
6676
|
tool_call: {
|
|
6677
|
-
type: "function";
|
|
6678
6677
|
name: string;
|
|
6678
|
+
type: "function";
|
|
6679
6679
|
arguments: string;
|
|
6680
6680
|
};
|
|
6681
6681
|
type: "tool_call";
|
|
@@ -6720,8 +6720,8 @@ export declare const SDKProviderConverterMap: {
|
|
|
6720
6720
|
} & {
|
|
6721
6721
|
[k: string]: unknown;
|
|
6722
6722
|
};
|
|
6723
|
-
type: "function";
|
|
6724
6723
|
id: string;
|
|
6724
|
+
type: "function";
|
|
6725
6725
|
}, {
|
|
6726
6726
|
function: {
|
|
6727
6727
|
name: string;
|
|
@@ -6842,8 +6842,8 @@ export declare const SDKProviderConverterMap: {
|
|
|
6842
6842
|
} & {
|
|
6843
6843
|
[k: string]: unknown;
|
|
6844
6844
|
};
|
|
6845
|
-
type: "function";
|
|
6846
6845
|
id: string;
|
|
6846
|
+
type: "function";
|
|
6847
6847
|
}, {
|
|
6848
6848
|
function: {
|
|
6849
6849
|
name: string;
|
|
@@ -6888,8 +6888,8 @@ export declare const SDKProviderConverterMap: {
|
|
|
6888
6888
|
} & {
|
|
6889
6889
|
[k: string]: unknown;
|
|
6890
6890
|
};
|
|
6891
|
-
type: "function";
|
|
6892
6891
|
id: string;
|
|
6892
|
+
type: "function";
|
|
6893
6893
|
}, {
|
|
6894
6894
|
function: {
|
|
6895
6895
|
name: string;
|
|
@@ -6934,8 +6934,8 @@ export declare const SDKProviderConverterMap: {
|
|
|
6934
6934
|
} & {
|
|
6935
6935
|
[k: string]: unknown;
|
|
6936
6936
|
};
|
|
6937
|
-
type: "function";
|
|
6938
6937
|
id: string;
|
|
6938
|
+
type: "function";
|
|
6939
6939
|
}, {
|
|
6940
6940
|
function: {
|
|
6941
6941
|
name: string;
|
|
@@ -7189,19 +7189,19 @@ export declare const SDKProviderConverterMap: {
|
|
|
7189
7189
|
text: string;
|
|
7190
7190
|
type: "text";
|
|
7191
7191
|
} | {
|
|
7192
|
-
type: "tool-call";
|
|
7193
7192
|
input: import("../jsonLiteralSchema").JSONLiteral;
|
|
7193
|
+
type: "tool-call";
|
|
7194
7194
|
toolCallId: string;
|
|
7195
7195
|
toolName: string;
|
|
7196
7196
|
})[];
|
|
7197
7197
|
role: "assistant";
|
|
7198
7198
|
} | {
|
|
7199
7199
|
content: {
|
|
7200
|
-
type: "tool-result";
|
|
7201
7200
|
output: {
|
|
7202
7201
|
value: string;
|
|
7203
7202
|
type: "text";
|
|
7204
7203
|
};
|
|
7204
|
+
type: "tool-result";
|
|
7205
7205
|
toolCallId: string;
|
|
7206
7206
|
toolName: string;
|
|
7207
7207
|
}[];
|
|
@@ -7240,8 +7240,8 @@ export declare const SDKProviderConverterMap: {
|
|
|
7240
7240
|
} & {
|
|
7241
7241
|
[k: string]: unknown;
|
|
7242
7242
|
};
|
|
7243
|
-
type: "function";
|
|
7244
7243
|
id: string;
|
|
7244
|
+
type: "function";
|
|
7245
7245
|
}, {
|
|
7246
7246
|
function: {
|
|
7247
7247
|
name: string;
|
|
@@ -7354,13 +7354,13 @@ export declare const SDKProviderConverterMap: {
|
|
|
7354
7354
|
toolName: z.ZodString;
|
|
7355
7355
|
input: z.ZodType<import("../jsonLiteralSchema").JSONLiteral, z.ZodTypeDef, import("../jsonLiteralSchema").JSONLiteral>;
|
|
7356
7356
|
}, "strip", z.ZodTypeAny, {
|
|
7357
|
-
type: "tool-call";
|
|
7358
7357
|
input: import("../jsonLiteralSchema").JSONLiteral;
|
|
7358
|
+
type: "tool-call";
|
|
7359
7359
|
toolCallId: string;
|
|
7360
7360
|
toolName: string;
|
|
7361
7361
|
}, {
|
|
7362
|
-
type: "tool-call";
|
|
7363
7362
|
input: import("../jsonLiteralSchema").JSONLiteral;
|
|
7363
|
+
type: "tool-call";
|
|
7364
7364
|
toolCallId: string;
|
|
7365
7365
|
toolName: string;
|
|
7366
7366
|
}>, z.ZodObject<{
|
|
@@ -7378,19 +7378,19 @@ export declare const SDKProviderConverterMap: {
|
|
|
7378
7378
|
type: "text";
|
|
7379
7379
|
}>;
|
|
7380
7380
|
}, "strip", z.ZodTypeAny, {
|
|
7381
|
-
type: "tool-result";
|
|
7382
7381
|
output: {
|
|
7383
7382
|
value: string;
|
|
7384
7383
|
type: "text";
|
|
7385
7384
|
};
|
|
7385
|
+
type: "tool-result";
|
|
7386
7386
|
toolCallId: string;
|
|
7387
7387
|
toolName: string;
|
|
7388
7388
|
}, {
|
|
7389
|
-
type: "tool-result";
|
|
7390
7389
|
output: {
|
|
7391
7390
|
value: string;
|
|
7392
7391
|
type: "text";
|
|
7393
7392
|
};
|
|
7393
|
+
type: "tool-result";
|
|
7394
7394
|
toolCallId: string;
|
|
7395
7395
|
toolName: string;
|
|
7396
7396
|
}>]>, z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"none">, z.ZodLiteral<"required">, z.ZodObject<{
|
|
@@ -7426,13 +7426,13 @@ export declare const SDKProviderConverterMap: {
|
|
|
7426
7426
|
toolName: z.ZodString;
|
|
7427
7427
|
input: z.ZodType<import("../jsonLiteralSchema").JSONLiteral, z.ZodTypeDef, import("../jsonLiteralSchema").JSONLiteral>;
|
|
7428
7428
|
}, "strip", z.ZodTypeAny, {
|
|
7429
|
-
type: "tool-call";
|
|
7430
7429
|
input: import("../jsonLiteralSchema").JSONLiteral;
|
|
7430
|
+
type: "tool-call";
|
|
7431
7431
|
toolCallId: string;
|
|
7432
7432
|
toolName: string;
|
|
7433
7433
|
}, {
|
|
7434
|
-
type: "tool-call";
|
|
7435
7434
|
input: import("../jsonLiteralSchema").JSONLiteral;
|
|
7435
|
+
type: "tool-call";
|
|
7436
7436
|
toolCallId: string;
|
|
7437
7437
|
toolName: string;
|
|
7438
7438
|
}>, z.ZodEffects<z.ZodObject<{
|