We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aceafa4 commit 430cd6aCopy full SHA for 430cd6a
src/checks/llm-base.ts
@@ -345,7 +345,7 @@ export async function runLLM<TOutput extends ZodTypeAny>(
345
});
346
}
347
348
- // Fail-closed on schema validation errors (e.g., wrong types like confidence as string)
+ // Fail-open on schema validation errors (e.g., wrong types like confidence as string)
349
if (error instanceof z.ZodError) {
350
console.warn('LLM response validation failed.', error);
351
return LLMErrorOutput.parse({
0 commit comments