diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-11-24 15:23:03 +0100 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-11-24 15:23:03 +0100 |
commit | 7f5e20bd1c08e304e72bd244f7a6adf2dd133ef8 (patch) | |
tree | 8e726c7efef5decabb75658eda0164cf400b39f8 | |
parent | Fix provider api response (#2408) (diff) | |
download | gpt4free-arm.tar gpt4free-arm.tar.gz gpt4free-arm.tar.bz2 gpt4free-arm.tar.lz gpt4free-arm.tar.xz gpt4free-arm.tar.zst gpt4free-arm.zip |
-rw-r--r-- | docker/Dockerfile-slim | 2 | ||||
-rw-r--r-- | g4f/api/__init__.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docker/Dockerfile-slim b/docker/Dockerfile-slim index 6c0afc64..6bc15cff 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 d52b8431..94fc23a5 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] |