Skip to content

Commit 430cd6a

Browse files
steven10aCopilot
andauthored
Update src/checks/llm-base.ts
Co-authored-by: Copilot <[email protected]>
1 parent aceafa4 commit 430cd6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/checks/llm-base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ export async function runLLM<TOutput extends ZodTypeAny>(
345345
});
346346
}
347347

348-
// Fail-closed on schema validation errors (e.g., wrong types like confidence as string)
348+
// Fail-open on schema validation errors (e.g., wrong types like confidence as string)
349349
if (error instanceof z.ZodError) {
350350
console.warn('LLM response validation failed.', error);
351351
return LLMErrorOutput.parse({

0 commit comments

Comments
 (0)