style: Fix whitespace in docstring

This commit is contained in:
Paul Gauthier (aider) 2025-01-24 09:14:55 -08:00
parent 387b7602cf
commit 231bceeabb

View file

@ -44,7 +44,7 @@ def sanity_check_messages(messages):
def ensure_alternating_roles(messages): def ensure_alternating_roles(messages):
"""Ensure messages alternate between 'assistant' and 'user' roles. """Ensure messages alternate between 'assistant' and 'user' roles.
Inserts empty messages of the opposite role when consecutive messages Inserts empty messages of the opposite role when consecutive messages
of the same role are found. of the same role are found.