You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of expected behavior and the observed behavior
Expected behavior
RuntimeError showing useful information to the user about not having set up a LLM.
ERROR: It looks like a Language Model provider isn't set up yet.
You have a few options to resolve this:
- Set environment variables with an API key: For example, OPENAI_API_KEY or ANTHROPIC_API_KEY.
- Specify a provider and API key directly: For example, set `--provider openai` with your API key via --api-key.
- Custom endpoint: If using an OpenAI-compatible API, set --provider openai and define the --provider-endpoint.
If you still need assistance visit the docs: https://lumen.holoviz.org/lumen_ai/how_to/llm/index.html
Observed behavior
ValueError from not having a provider selected
ERROR: Could not find LLM Provider None, valid providers include: ['openai', 'anthropic', 'mistral', 'azure-openai', 'azure-mistral', 'ai-navigator', 'llama-cpp'].
Complete, minimal, self-contained example code that reproduces the issue
# from fresh install
lumen-ai
I may be interested in making a pull request to address this
The text was updated successfully, but these errors were encountered:
ALL software version info
Software Version Info
Description of expected behavior and the observed behavior
Expected behavior
RuntimeError
showing useful information to the user about not having set up a LLM.Observed behavior
ValueError
from not having aprovider
selectedComplete, minimal, self-contained example code that reproduces the issue
# from fresh install lumen-ai
The text was updated successfully, but these errors were encountered: