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
➜ python
Python 3.12.1 (main, Dec 18 2023, 00:00:00) [GCC 13.2.1 20231205 (Red Hat 13.2.1-6)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from langchain_nvidia_ai_endpoits import ChatNVIDIA
>>> nim = ChatNVIDIA().mode("nim", base_url="http://localhost:9999")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/tmp/issue/.venv/lib/python3.12/site-packages/langchain_core/load/serializable.py", line 120, in __init__
super().__init__(**kwargs)
File "/tmp/issue/.venv/lib/python3.12/site-packages/pydantic/v1/main.py", line 341, in __init__
raise validation_error
pydantic.v1.error_wrappers.ValidationError: 1 validation error for ChatNVIDIA
__root__ -> __root__
argument of type 'NoneType' is not iterable (type=type_error)
environment
issue
expectation
an endpoint setup to work with a local NIM at http://localhost:9999
workaround
The text was updated successfully, but these errors were encountered: