fix: set api run route inputs to support number and string
This commit is contained in:
parent
f54d680e7e
commit
814c93e481
@ -17,7 +17,7 @@ const createRunRoute = createRoute({
|
|||||||
"application/json": {
|
"application/json": {
|
||||||
schema: z.object({
|
schema: z.object({
|
||||||
deployment_id: z.string(),
|
deployment_id: z.string(),
|
||||||
inputs: z.record(z.string()).optional(),
|
inputs: z.record(z.union([z.string(), z.number()])).optional(),
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user