mirror of https://github.com/xtekky/gpt4free.git
Update __init__.py
This commit is contained in:
parent
e41bbdce02
commit
c343d66ac6
|
@ -146,7 +146,7 @@ class Api:
|
||||||
if auth_header and auth_header != "Bearer":
|
if auth_header and auth_header != "Bearer":
|
||||||
config.api_key = auth_header
|
config.api_key = auth_header
|
||||||
response = self.client.chat.completions.create(
|
response = self.client.chat.completions.create(
|
||||||
{
|
**{
|
||||||
**AppConfig.defaults,
|
**AppConfig.defaults,
|
||||||
**config.dict(exclude_none=True),
|
**config.dict(exclude_none=True),
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue