fix: set api run route inputs to support number and string
This commit is contained in:
@@ -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(),
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user