Skip to content

Fix fact checker service failures and refresh Parallel APIs - #64

Draft
georgeatparallel wants to merge 1 commit into
mainfrom
fix/fact-checker-service-errors
Draft

Fix fact checker service failures and refresh Parallel APIs#64
georgeatparallel wants to merge 1 commit into
mainfrom
fix/fact-checker-service-errors

Conversation

@georgeatparallel

Copy link
Copy Markdown
Collaborator

When an inference request fails, the fact checker can report that the input contains no facts or return an empty unsure verdict. The text-only stream filters out provider errors. Consume the full stream, show safe service-error messages, and reject incomplete verdicts so failures stay visible.

Update Search and Extract to the stable Parallel APIs, pin the tested SDK version, and document the existing Cloudflare logs and analytics limitations.

Validation: nine regression tests using the real SDKs with mocked HTTP responses, TypeScript, default and production Worker deployment dry runs, and repository secret checks pass. Live local tests verify a true claim, reject a false claim, and complete URL extraction with a sourced verdict.

Production recovery still requires checking the deployed Worker's service credentials and logs, then verifying both input paths after deployment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant