Skip to content

Improve error message when API key is missing #86

Closed

Description

@ptimizeroracle

Description

When a user runs a pipeline without setting the required API key (e.g. OPENAI_API_KEY), the error message could be more helpful — pointing to the docs setup guide and the specific env var needed.

What to do

  1. Find where API key validation happens (likely in ondine/adapters/ or ondine/core/)
  2. Improve the error message to include:
    • Which env var is missing (e.g. OPENAI_API_KEY)
    • A link to the docs setup page
    • The ondine list-providers command for reference
  3. Add a unit test for the improved error message

Acceptance criteria

  • Clear, actionable error message when API key is missing
  • Unit test passes

Activity

  1. ptimizeroracle commented on Aug 12, 2026

    @ptimizeroracle
    OwnerAuthor

    Resolved in #259.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions