Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hard to decipher RunTimeError when serving lumen ai #951

Open
MarcSkovMadsen opened this issue Jan 25, 2025 · 0 comments
Open

Hard to decipher RunTimeError when serving lumen ai #951

MarcSkovMadsen opened this issue Jan 25, 2025 · 0 comments

Comments

@MarcSkovMadsen
Copy link

I'm on the main branch having run uv pip install -e .[ai-openai].

When we try to run the blog post example lumen-ai serve https://datasets.holoviz.org/windturbines/v1/windturbines.parq --show we get

RuntimeError: No provider detected. Please specify a provider with --provider and an API key with --api-key, set an environment variable with the API key, or specify a custom endpoint with --provider-endpoint.
ERROR: No provider detected. Please specify a provider with --provider and an API key with --api-key, set an environment variable with the API key, or specify a custom endpoint with --provider-endpoint.

This error message is 1) doubled increasing the complexity and 2) is quite hard to decipher. This is probably the error message that will be most shown to users. Please make it super easy to understand and to solve. Thanks.

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

No branches or pull requests

1 participant