From c343d66ac65586a7d803da85b0e275058ff5481b Mon Sep 17 00:00:00 2001 From: H Lohaus Date: Mon, 6 May 2024 16:56:46 +0200 Subject: [PATCH] Update __init__.py --- g4f/api/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g4f/api/__init__.py b/g4f/api/__init__.py index 3972c079..9772f8d7 100644 --- a/g4f/api/__init__.py +++ b/g4f/api/__init__.py @@ -146,7 +146,7 @@ class Api: if auth_header and auth_header != "Bearer": config.api_key = auth_header response = self.client.chat.completions.create( - { + **{ **AppConfig.defaults, **config.dict(exclude_none=True), },