Skip to content

fix: report missing AI packages and failed model requests as evaluation errors in prompt() - #456

Merged
rich-iannone merged 9 commits into
mainfrom
fix-ai-provider-import-errors
Oct 15, 2026
Merged

rich-iannone merged 9 commits into
mainfrom
fix-ai-provider-import-errors

Conversation

@rich-iannone

Copy link
Copy Markdown
Member

In this PR, a prompt() step now records an evaluation error with an explanatory note when a provider package is missing or when no request to the model succeeds (e.g., an invalid API key). Before, every row was reported as failing, which sort of looked like a real validation failure (very misleading).

Every missing-package message for the AI features now points to pip install "pointblank[generate]", Bedrock checks for its dependencies, and anthropic[bedrock] is in the dev group so the Anthropic and Bedrock setup paths are tested in CI.

@github-actions
github-actions Bot temporarily deployed to pr-456 October 15, 2026 00:34 Destroyed
@rich-iannone
rich-iannone merged commit 2d0ca16 into main Oct 15, 2026
10 checks passed
@rich-iannone
rich-iannone deleted the fix-ai-provider-import-errors branch October 15, 2026 01:30

This branch was successfully deployed

1 active deployment
pr-456 — 502143c5 Deployed Oct 15, 2026 by github-actions[bot]
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