Skip to content

Commit

Permalink
Show system prompt info.
Browse files Browse the repository at this point in the history
  • Loading branch information
yaph committed Jul 11, 2024
1 parent 4df1aed commit 697d36a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charla/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ def run(argv: argparse.Namespace) -> None:
print_fmt('Chat with:', HTML(f'<ansigreen>{argv.model}</ansigreen>'), '\n')

system_prompt = argv.system_prompt.read() if argv.system_prompt else ''
if system_prompt:
print_fmt('Using system prompt:', HTML(f'<ansigreen>{argv.system_prompt.name}</ansigreen>'), '\n')

while True:
try:
Expand Down

0 comments on commit 697d36a

Please sign in to comment.