Update __init__.py

pull/1927/head
H Lohaus 4 weeks ago committed by GitHub
parent e41bbdce02
commit c343d66ac6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save