Skip to content

Commit

Permalink
fixing an issue with previus version
Browse files Browse the repository at this point in the history
  • Loading branch information
adamyodinsky committed Mar 23, 2023
1 parent be1c4f7 commit dfa6357
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
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 = "terminalgpt"
version = "1.0.5"
version = "1.0.6"
description = "AI chat asistent in your terminal powered by OpenAI GPT-3.5"
authors = ["Adam Yodinsky <[email protected]>"]
keywords=["ai", "chat", "terminal", "openai", "gpt3", "chatGPT", "assistant", "gpt3.5", "terminalGPT"]
Expand Down
9 changes: 6 additions & 3 deletions terminalgpt/chat_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@
BINDINGS = KeyBindings()


def chat_loop(conversation_name: str = None, **kwargs):
"""Main chat loop."""
executor: concurrent.futures.ThreadPoolExecutor = kwargs["executor"]
def chat_loop(
conversation_name: str = None,
executor: concurrent.futures.ThreadPoolExecutor = None,
**kwargs,
):
"""Main chat loop."""
debug: bool = kwargs["debug"]
token_limit: int = kwargs["token_limit"]
session: PromptSession = kwargs["session"]
Expand Down

0 comments on commit dfa6357

Please sign in to comment.