summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-11-24 15:23:03 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-11-24 15:23:03 +0100
commit7f5e20bd1c08e304e72bd244f7a6adf2dd133ef8 (patch)
tree8e726c7efef5decabb75658eda0164cf400b39f8
parentFix provider api response (#2408) (diff)
downloadgpt4free-7f5e20bd1c08e304e72bd244f7a6adf2dd133ef8.tar
gpt4free-7f5e20bd1c08e304e72bd244f7a6adf2dd133ef8.tar.gz
gpt4free-7f5e20bd1c08e304e72bd244f7a6adf2dd133ef8.tar.bz2
gpt4free-7f5e20bd1c08e304e72bd244f7a6adf2dd133ef8.tar.lz
gpt4free-7f5e20bd1c08e304e72bd244f7a6adf2dd133ef8.tar.xz
gpt4free-7f5e20bd1c08e304e72bd244f7a6adf2dd133ef8.tar.zst
gpt4free-7f5e20bd1c08e304e72bd244f7a6adf2dd133ef8.zip
-rw-r--r--docker/Dockerfile-slim2
-rw-r--r--g4f/api/__init__.py2
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]