Skip to content

Commit faa9671

Browse files
author
Dylan Huang
committed
add model_base_url to initRequestSchema in TypeScript
1 parent 8db06bc commit faa9671

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

typescript/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export const initRequestSchema = z.object({
4545
messages: z.array(messageSchema).min(1),
4646
tools: z.array(toolSchema).optional().nullable(),
4747
metadata: metadataSchema,
48+
model_base_url: z.string().optional().nullable(),
4849
});
4950

5051
export const statusInfoSchema = z.record(z.string(), z.any());

typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "eval-protocol",
33
"module": "index.ts",
44
"type": "module",
5-
"version": "0.1.2",
5+
"version": "0.1.3",
66
"devDependencies": {
77
"@types/bun": "latest",
88
"openai": "^5.23.0"

0 commit comments

Comments
 (0)