jupyter-ai
jupyter-ai copied to clipboard
Completion model provider should be traitlet-configurable
@krassowski Will it also be better if we can set something like
default_completion_model
anddefault_chat_model
when runningjupyter lab --config
using config.json? Previously, we can only do something like:{ "AiExtension": { "default_language_model": "Self-Hosted:deepseek-coder-6.7b-instruct", "allowed_providers": "Self-Hosted", "model_parameters": { "Self-Hosted:deepseek-coder-6.7b-base": {}, "Self-Hosted:deepseek-coder-6.7b-instruct": {} }, "default_api_keys":{} } }
It may be better to modify the extension.py also. Thank you.
Originally posted by @yuhon0528 in https://github.com/jupyterlab/jupyter-ai/issues/711#issuecomment-2104050127