Variable scenarioProjectConfigSchemaConst
scenarioProjectConfigSchema: ZodObject<
{
defaultModel: ZodOptional<
ZodObject<
{
maxTokens: ZodOptional<ZodNumber>;
model: ZodCustom<LanguageModel, LanguageModel>;
temperature: ZodOptional<ZodNumber>;
},
$strip,
>,
>;
headless: ZodDefault<ZodOptional<ZodBoolean>>;
observability: ZodOptional<
ZodCustom<
Partial<SetupObservabilityOptions>,
Partial<SetupObservabilityOptions>,
>,
>;
},
$strict,
> = ...
Schema for the scenario project configuration file (scenario.config.js).
The
observabilityfield accepts a subset ofSetupObservabilityOptionsfrom the langwatch SDK. It usesz.custom()to avoid strict validation on the passthrough object while keeping the outer config strict.