diff --git a/packages/jupyter-ai/jupyter_ai/extension.py b/packages/jupyter-ai/jupyter_ai/extension.py index aea2396da..f25cbfa9b 100644 --- a/packages/jupyter-ai/jupyter_ai/extension.py +++ b/packages/jupyter-ai/jupyter_ai/extension.py @@ -158,7 +158,9 @@ def initialize_settings(self): # TODO: Validate slash ID (/^[A-Za-z0-9_]+$/) # The "default" handler above takes precedence over any "default" command here - command_name = f"/{chat_handler.slash_id}" if chat_handler.slash_id else "default" + command_name = ( + f"/{chat_handler.slash_id}" if chat_handler.slash_id else "default" + ) if command_name in jai_chat_handlers: self.log.error(