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
After one of recent upgrades (either 2.16 or 2.15, I suspect this PR cf20800) config UI stopped working for me. Seems it's related to the allowed models I have configured. Removing allowed_models from the config solves the issue, however I need to control the allowed models.
File "/opt/conda/lib/python3.11/site-packages/tornado/web.py", line 1788, in _execute
result = method(*self.path_args, **self.path_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/tornado/web.py", line 3301, in wrapper
return method(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/jupyter_ai/handlers.py", line 353, in get
providers = self._filter_blocked_models(providers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/jupyter_ai/handlers.py", line 293, in _filter_blocked_models
provider.chat_models = list(filter(filter_predicate, provider.chat_models))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable```
The text was updated successfully, but these errors were encountered:
Description
After one of recent upgrades (either 2.16 or 2.15, I suspect this PR cf20800) config UI stopped working for me. Seems it's related to the allowed models I have configured. Removing
allowed_models
from the config solves the issue, however I need to control the allowed models.Reproduce
allowed_models
listExpected behavior
No error on UI
Context
example of the config file:
error in jupyterlab:
The text was updated successfully, but these errors were encountered: