Skip to content

Commit

Permalink
revert accidentally breaking /learn
Browse files Browse the repository at this point in the history
  • Loading branch information
dlqqq committed Dec 25, 2024
1 parent 1482d09 commit 58d1762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jupyter-ai/jupyter_ai/chat_handlers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def create_llm_chain(
def parse_args(self, message: Message, silent=False):
args = message.body.split(" ")[1:]
try:
arg_namespace = self.parser.parse_args(args[1:])
arg_namespace = self.parser.parse_args(args)
except (argparse.ArgumentError, SystemExit) as e:
if not silent:
response = f"{self.parser.format_usage()}"
Expand Down

0 comments on commit 58d1762

Please sign in to comment.