Skip to content

Commit

Permalink
Prepare 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Jul 28, 2023
1 parent 09040ba commit d40c018
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion elia_chat/widgets/chat_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def load_chats(self) -> list[ChatData]:
return all_chats

def create_chat(self, chat_data: ChatData) -> None:
new_chat_list_item = ChatListItem(chat_data)
new_chat_list_item = ChatListItem(chat_data, is_open=True)
log.debug(f"Creating new chat {new_chat_list_item!r}")

option_list = self.query_one(OptionList)
Expand All @@ -136,3 +136,4 @@ def create_chat(self, chat_data: ChatData) -> None:
option_list.clear_options()
option_list.add_options(self.options)
option_list.highlighted = 0
self.refresh()
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "elia-chat"
version = "0.1.0"
version = "0.2.0"
description = "A terminal interface to ChatGPT."
authors = ["Darren Burns <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit d40c018

Please sign in to comment.