Open RogerHYang opened 1 day ago
what error does this show?
here's the error
Ah, this is because our frontend invocation param schema is too restrictive.
/**
* Model generic invocation parameters schema in zod.
*/
const invocationParameterSchema = z.record(
z.union([z.boolean(), z.number(), z.string(), z.array(z.string())])
);
This needs to include z.record(z.unknown())
in the union
playground UI shows error for the following span