diff options
Diffstat (limited to 'g4f')
-rw-r--r-- | g4f/api/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
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), }, |