diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index a8d2cb9..c402c9e 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -25,6 +25,8 @@ jobs: run: git config --global --add safe.directory '*' - name: Install dependencies + env: + PYO3_USE_ABI3_FORWARD_COMPATIBILITY: "1" run: pip3 install poetry flake8 black && poetry config virtualenvs.create ${USE_VENV} && poetry install # # - name: flake8 diff --git a/flymyai/core/clients/AsyncClient.py b/flymyai/core/clients/AsyncClient.py index 840fd34..13f2d6b 100644 --- a/flymyai/core/clients/AsyncClient.py +++ b/flymyai/core/clients/AsyncClient.py @@ -29,7 +29,7 @@ class BaseAsyncClient(BaseClient[httpx.AsyncClient]): def _construct_client(self): return httpx.AsyncClient( - http2=True, + http2=False, headers=self.client_info.authorization_headers, base_url=os.getenv("FLYMYAI_DSN", "https://api.flymy.ai/"), timeout=_predict_timeout, diff --git a/flymyai/core/clients/SyncClient.py b/flymyai/core/clients/SyncClient.py index ff6a1a3..b805a72 100644 --- a/flymyai/core/clients/SyncClient.py +++ b/flymyai/core/clients/SyncClient.py @@ -29,7 +29,7 @@ class BaseSyncClient(BaseClient[httpx.Client]): def _construct_client(self): return httpx.Client( - http2=True, + http2=False, headers=self.client_info.authorization_headers, base_url=os.getenv("FLYMYAI_DSN", "https://api.flymy.ai/"), timeout=_predict_timeout,