From 7f5e20bd1c08e304e72bd244f7a6adf2dd133ef8 Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Sun, 24 Nov 2024 15:23:03 +0100 Subject: [PATCH] Fix build arm v7 --- docker/Dockerfile-slim | 2 +- g4f/api/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile-slim b/docker/Dockerfile-slim index 6c0afc644f4..6bc15cff2a9 100644 --- a/docker/Dockerfile-slim +++ b/docker/Dockerfile-slim @@ -47,7 +47,7 @@ RUN python -m pip install --upgrade pip \ --global-option=build_ext \ --global-option=-j8 \ pydantic==${PYDANTIC_VERSION} \ - && pip install --no-cache-dir -r requirements-slim.txt \ + && cat requirements.txt | xargs -n 1 pip install --no-cache-dir \ # Remove build packages && pip uninstall --yes \ Cython \ diff --git a/g4f/api/__init__.py b/g4f/api/__init__.py index d52b843160d..94fc23a50a7 100644 --- a/g4f/api/__init__.py +++ b/g4f/api/__init__.py @@ -88,7 +88,7 @@ class ProviderResponseModel(BaseModel): owned_by: Optional[str] url: Optional[str] label: Optional[str] -⅞ + class ProviderResponseModelDetail(ProviderResponseModel): models: list[str] image_models: list[str]