Skip to content

Commit

Permalink
fix: fixed log selector not opening when running plainly as gptme
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Aug 28, 2024
1 parent f3c02f6 commit 5a0c2aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gptme/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ def get_logfile(name: str | Literal["random", "resume"], interactive=True) -> Pa
]

# don't run pick in tests/non-interactive mode, or if the user specifies a name
if interactive and name not in ["random", "ask"]:
if interactive and name in ["random"]:
options = [
NEW_CONV,
] + prev_convs
Expand Down

0 comments on commit 5a0c2aa

Please sign in to comment.