Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nicovank committed Mar 11, 2024
1 parent 452dca3 commit 2e3d6a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chatdbg/assistant/lite_assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def _print_to_file(file, indent):
elif hasattr(message, "content"):
content = message.content

assert content or tool_calls
assert content != None or tool_calls != None

# The longest role string is 'assistant'.
max_role_length = 9
Expand Down

0 comments on commit 2e3d6a7

Please sign in to comment.