Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion flymyai/core/clients/AsyncClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion flymyai/core/clients/SyncClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading