Fix model retrieval process in AnyModelProviderMixin

- Added error handling around model retrieval to prevent crashes when a provider fails.
- Ensured that exceptions during model fetching are logged for debugging purposes.
- Cleaned up the indentation and structure of the model retrieval logic for better readability.
This commit is contained in:
hlohaus 2025-11-14 17:24:28 +01:00
parent 36e66950ca
commit fb26557dbb
3 changed files with 2403 additions and 1186 deletions

View file

@ -19,7 +19,7 @@ RUN if [ "$G4F_VERSION" = "" ] ; then \
RUN apt-get -qqy update \
&& apt-get -qqy upgrade \
&& apt-get -qyy autoremove \
&& apt-get -qqy install python3 python-is-python3 pip ffmpeg flac libavcodec-extra \
&& apt-get -qqy install python3 python-is-python3 pip ffmpeg flac libavcodec-extra build-essential \
&& apt-get -qyy remove openjdk-11-jre-headless \
&& apt-get -qyy autoremove \
&& apt-get -qyy clean \