mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
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:
parent
36e66950ca
commit
fb26557dbb
3 changed files with 2403 additions and 1186 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue