Skip to content

Commit

Permalink
fix: fixed bug with extra 'Skipped hidden system messages' lines from…
Browse files Browse the repository at this point in the history
… workspace prompt
  • Loading branch information
ErikBjare committed Sep 6, 2024
1 parent 9cd3850 commit 5937cb7
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 @@ -249,7 +249,7 @@ def chat(
and workspace_prompt not in [m.content for m in log]
and "user" not in [m.role for m in log]
):
log.append(Message("system", workspace_prompt, hide=True))
log.append(Message("system", workspace_prompt, hide=True, quiet=True))

# print log
log.print()
Expand Down

0 comments on commit 5937cb7

Please sign in to comment.