Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nmnduy committed May 22, 2023
1 parent 4eb4c04 commit f406b04
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doktor/prompt.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,11 @@ def get_prompt(state, # : State
reverse=True)
for msg in messages:
if msg.role == "user":
print_green(f"You: {msg.content}" + "\n")
print_green(f"You:\n")
print(msg.content)
if msg.role == "assistant":
print(f"Assistant: {msg.content}" + "\n")
print_yellow(f"Assistant:\n")
print(msg.content)
raise InputResetException()


Expand Down

0 comments on commit f406b04

Please sign in to comment.