Skip to content

Commit

Permalink
chore(cli): only close engine on Ctrl-C
Browse files Browse the repository at this point in the history
  • Loading branch information
zhudotexe committed May 28, 2024
1 parent 2678bb8 commit 814f796
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kani/utils/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ async def chat_in_terminal_async(
elif msg.role == ChatRole.FUNCTION and show_function_returns:
print_width(msg.text, width=width, prefix="FUNC: ")
except KeyboardInterrupt:
pass
finally:
await kani.engine.close()


Expand Down

0 comments on commit 814f796

Please sign in to comment.