style: Apply linter edits to sendchat.py

This commit is contained in:
Paul Gauthier (aider) 2024-08-12 15:04:08 -07:00
parent 7822c1c879
commit 2669b0c758

View file

@ -58,7 +58,7 @@ def send_completion(
temperature=temperature,
stream=stream,
)
if model_name.startswith("deepseek/") and "DEEPSEEK_API_BASE" in os.environ:
kwargs["base_url"] = os.environ["DEEPSEEK_API_BASE"]
if functions is not None: