style: Run linter

This commit is contained in:
Paul Gauthier (aider) 2024-09-27 13:02:47 -07:00
parent 74f615bbb4
commit c24e947b18

View file

@ -68,7 +68,7 @@ def send_completion(
function = functions[0] function = functions[0]
kwargs["tools"] = [dict(type="function", function=function)] kwargs["tools"] = [dict(type="function", function=function)]
kwargs["tool_choice"] = {"type": "function", "function": {"name": function["name"]}} kwargs["tool_choice"] = {"type": "function", "function": {"name": function["name"]}}
if extra_params is not None: if extra_params is not None:
kwargs.update(extra_params) kwargs.update(extra_params)