mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-15 00:44:56 -05:00
fixed payload error (#1873)
This commit is contained in:
@@ -8,10 +8,9 @@ const logger = createLogger('CopilotTrainingAPI')
|
||||
const WorkflowStateSchema = z.record(z.unknown())
|
||||
|
||||
const OperationSchema = z.object({
|
||||
type: z.string(),
|
||||
data: z.record(z.unknown()).optional(),
|
||||
timestamp: z.number().optional(),
|
||||
metadata: z.record(z.unknown()).optional(),
|
||||
operation_type: z.string(),
|
||||
block_id: z.string(),
|
||||
params: z.record(z.unknown()).optional(),
|
||||
})
|
||||
|
||||
const TrainingDataSchema = z.object({
|
||||
|
||||
Reference in New Issue
Block a user