Skip to content

Unvalidated EMBEDDER/LLM env values crash startup with bare traceback #23

Description

@royalpinto007

Problem

EMBEDDER=typo crashes startup with a bare traceback instead of a structured error listing valid values.

Where

vaultrag/config.py (unvalidated os.getenv("EMBEDDER", "local")) + vaultrag/embeddings.py (unknown embedder ValueError).

Acceptance

Add a failing test first asserting a typo'd EMBEDDER raises a structured startup error listing valid values. Then fix.

Activity

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

Metadata

Metadata

Assignees

Labels

claimedSomeone is already working on this issuegood first issueGood for newcomershelp wantedExtra attention is needed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions