Skip to content

Commit

Permalink
Remove final leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Jul 9, 2024
1 parent e5f2464 commit d51df73
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/jupyter-ai/jupyter_ai/chat_handlers/ask.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,7 @@ async def process_message(self, message: HumanChatMessage):
args = self.parse_args(message)
if args is None:
return

if args.help:
self.reply(self.parser.format_help(), message)
return

query = " ".join(args.query)

if not query:
self.reply(f"{self.parser.format_usage()}", message)
return
Expand Down

0 comments on commit d51df73

Please sign in to comment.