Skip to content

Commit

Permalink
tests: fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Sep 22, 2024
1 parent 942ef0d commit d0a946b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gptme/tools/chats.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ def list_chats(max_results: int = 5, include_summary: bool = False) -> None:
If False, uses a simple strategy showing snippets of the first and last messages.
"""
# noreorder
from ..logmanager import LogManager, get_conversations # fmt: skip
from ..logmanager import LogManager, get_user_conversations # fmt: skip

conversations = list(itertools.islice(get_conversations(), max_results))
conversations = list(itertools.islice(get_user_conversations(), max_results))
if not conversations:
print("No conversations found.")
return
Expand Down

0 comments on commit d0a946b

Please sign in to comment.