style: Apply linter formatting to sendchat.py and test_sendchat.py

This commit is contained in:
Paul Gauthier (aider) 2024-11-08 10:02:54 -08:00
parent 14d02bc843
commit d0e85d9c2c
2 changed files with 2 additions and 4 deletions

View file

@ -71,7 +71,7 @@ def simple_send_with_retries(model_name, messages, extra_params=None):
}
_hash, response = send_completion(**kwargs)
if not response or not hasattr(response, 'choices') or not response.choices:
if not response or not hasattr(response, "choices") or not response.choices:
return None
return response.choices[0].message.content
except litellm_ex.exceptions_tuple() as err: