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

get_available_models() warns for a key #92

Open
mattf opened this issue Aug 22, 2024 · 0 comments
Open

get_available_models() warns for a key #92

mattf opened this issue Aug 22, 2024 · 0 comments

Comments

@mattf
Copy link
Collaborator

mattf commented Aug 22, 2024

>>> from langchain_nvidia_ai_endpoints import NVIDIAEmbeddings
>>> NVIDIAEmbeddings.get_available_models()
/langchain_nvidia_ai_endpoints/_common.py:172: UserWarning: An API key is required for the hosted NIM. This will become an error in the future.
  warnings.warn(
[...]

the warning should not be present for get_available_models() as a key is not required.

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