Skip to content

Commit

Permalink
πŸ“š docs: ollama example for simple_loop_no_helpers.py message['sender'…
Browse files Browse the repository at this point in the history
…]->'role'
  • Loading branch information
davidaparicio committed Oct 29, 2024
1 parent 7e51591 commit c5c0f7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/basic/simple_loop_no_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def pretty_print_messages(messages):
for message in messages:
if message["content"] is None:
continue
print(f"{message['sender']}: {message['content']}")
print(f"{message['role']}: {message['content']}")


messages = []
Expand Down

0 comments on commit c5c0f7b

Please sign in to comment.