Skip to content

Commit

Permalink
Merge branch 'preferred_dir' of github.com:andrewfulton9/jupyter-ai i…
Browse files Browse the repository at this point in the history
…nto preferred_dir
  • Loading branch information
andrewfulton9 committed Jul 8, 2024
2 parents 5c3cb93 + 13618c7 commit 2a59a01
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/jupyter-ai/jupyter_ai/chat_handlers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ def __init__(
self.llm_params = None
self.llm_chain = None


async def on_message(self, message: HumanChatMessage):
"""
Method which receives a human message, calls `self.get_llm_chain()`, and
Expand Down
2 changes: 0 additions & 2 deletions packages/jupyter-ai/jupyter_ai/chat_handlers/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,5 +283,3 @@ async def handle_exc(self, e: Exception, message: HumanChatMessage):

response = f"An error occurred while generating the notebook. The error details have been saved to `./{log_path}`.\n\nTry running `/generate` again, as some language models require multiple attempts before a notebook is generated."
self.reply(response, message)


0 comments on commit 2a59a01

Please sign in to comment.