diff options
Diffstat (limited to 'g4f')
-rw-r--r-- | g4f/Provider/DeepAi.py | 1 | ||||
-rw-r--r-- | g4f/__init__.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/g4f/Provider/DeepAi.py b/g4f/Provider/DeepAi.py index 80126d20..f08f17bb 100644 --- a/g4f/Provider/DeepAi.py +++ b/g4f/Provider/DeepAi.py @@ -52,6 +52,7 @@ f = function () { headers = { "api-key": api_key, "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36", + **kwargs.get("headers", {}) } async with ClientSession( headers=headers diff --git a/g4f/__init__.py b/g4f/__init__.py index 01481f16..bfbf884b 100644 --- a/g4f/__init__.py +++ b/g4f/__init__.py @@ -5,7 +5,7 @@ from .typing import Any, CreateResult, Union from requests import get logging = False -version = '0.1.4.4' +version = '0.1.4.5' def check_pypi_version(): try: |