Skip to content

Commit

Permalink
chore: more merge fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zhudotexe committed Apr 11, 2024
1 parent 83f9d92 commit 8f9e075
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions kani/utils/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,11 @@ async def chat_in_terminal_async(

# get user query
if not ai_first or round_num > 0:
query = input("USER: ").strip()if echo:
print_width(query, width=width, prefix="USER: ")
query = input("USER: ").strip()
if echo:
print_width(query, width=width, prefix="USER: ")
if stopword and query == stopword:
breakelse:
query = None

break
# print completion(s)
else:
query = None
Expand Down

0 comments on commit 8f9e075

Please sign in to comment.