mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
style: Add blank lines for better readability in sendchat.py
This commit is contained in:
parent
bb61be630a
commit
fc431df2b4
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,7 @@ CACHE = None
|
|||
|
||||
RETRY_TIMEOUT = 60
|
||||
|
||||
|
||||
def sanity_check_messages(messages):
|
||||
"""Check if messages alternate between user and assistant roles.
|
||||
System messages can be interspersed anywhere.
|
||||
|
@ -29,6 +30,7 @@ def sanity_check_messages(messages):
|
|||
last_role = role
|
||||
return True
|
||||
|
||||
|
||||
def send_completion(
|
||||
model_name,
|
||||
messages,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue