Skip to content

Commit

Permalink
AgentChatMessage show_edit_settings field
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-i committed Dec 19, 2023
1 parent de0b104 commit f8142e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/jupyter-ai/jupyter_ai/chat_handlers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ def reply(
agent_msg = AgentChatMessage(
id=uuid4().hex,
time=time.time(),
body=response, # append info about error to the string
body=response,
reply_to=human_msg.id if human_msg else "",
# error_type=APIAuthenticationError
show_edit_settings=show_edit_settings,
)

for handler in self._root_chat_handlers.values():
Expand Down

0 comments on commit f8142e5

Please sign in to comment.