summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-05-06 16:56:46 +0200
committerGitHub <noreply@github.com>2024-05-06 16:56:46 +0200
commitc343d66ac65586a7d803da85b0e275058ff5481b (patch)
tree5d176d55456a587decd3f5bfbb542a1d0d8654de
parentUpdate __init__.py (diff)
downloadgpt4free-c343d66ac65586a7d803da85b0e275058ff5481b.tar
gpt4free-c343d66ac65586a7d803da85b0e275058ff5481b.tar.gz
gpt4free-c343d66ac65586a7d803da85b0e275058ff5481b.tar.bz2
gpt4free-c343d66ac65586a7d803da85b0e275058ff5481b.tar.lz
gpt4free-c343d66ac65586a7d803da85b0e275058ff5481b.tar.xz
gpt4free-c343d66ac65586a7d803da85b0e275058ff5481b.tar.zst
gpt4free-c343d66ac65586a7d803da85b0e275058ff5481b.zip
Diffstat (limited to '')
-rw-r--r--g4f/api/__init__.py2
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),
},