Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
Fix reset conversation
Browse files Browse the repository at this point in the history
  • Loading branch information
vsakkas committed Nov 7, 2023
1 parent 2894b98 commit eb0e98d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bard/bard.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ async def _get_session(self, force_close: bool = False) -> ClientSession:

if self.session and not self.session.closed and force_close:
await self.session.close()
self.session = None

if not self.session:
self.session = ClientSession(
Expand Down

0 comments on commit eb0e98d

Please sign in to comment.