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

[Bug]: can't add model / Cannot access 'lS' before initialization #6892

Open
vid opened this issue Nov 24, 2024 · 1 comment
Open

[Bug]: can't add model / Cannot access 'lS' before initialization #6892

vid opened this issue Nov 24, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@vid
Copy link

vid commented Nov 24, 2024

What happened?

I'm trying to add an ollama via the ui. I choose Add Model, provider ollama, public model name "llama3.2", litellm model name "llama3.2", provide base URL (same as env below), then hit "Add model," nothing happens, but I see attached errors in console (form resets at that point). I go to "All models," no models listed. I hit reload. I get a page level "Cannot access 'lS' before initialization." I need to clear application memory in the browser to continue.

using OLLAMA_BASE_URLS: http://ollama:11434

image

By the way, the form fields LiteLLM Model Name(s) and Base Url populate with my login credentials by default, which shouldn't happen.

Relevant log output

No response

Twitter / LinkedIn details

No response

@vid vid added the bug Something isn't working label Nov 24, 2024
@vid
Copy link
Author

vid commented Nov 24, 2024

Just noticed if I enable STORE_MODEL_IN_DB it says it added the model, but no models show up and see the same error after reloading. If I clear cache and log in, the model shows up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant