diff options
author | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-19 21:38:54 +0200 |
---|---|---|
committer | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-19 21:38:54 +0200 |
commit | d7b0c2230d95533452026d111a52403e718558c0 (patch) | |
tree | d9bed2b5844b74035b39f07541a70494cab91576 | |
parent | fix(g4f/Provider/HuggingChat.py): handle JSON decode errors and response status (diff) | |
download | gpt4free-d7b0c2230d95533452026d111a52403e718558c0.tar gpt4free-d7b0c2230d95533452026d111a52403e718558c0.tar.gz gpt4free-d7b0c2230d95533452026d111a52403e718558c0.tar.bz2 gpt4free-d7b0c2230d95533452026d111a52403e718558c0.tar.lz gpt4free-d7b0c2230d95533452026d111a52403e718558c0.tar.xz gpt4free-d7b0c2230d95533452026d111a52403e718558c0.tar.zst gpt4free-d7b0c2230d95533452026d111a52403e718558c0.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/Provider/AmigoChat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/Provider/AmigoChat.py b/g4f/Provider/AmigoChat.py index 5d579841..f5027111 100644 --- a/g4f/Provider/AmigoChat.py +++ b/g4f/Provider/AmigoChat.py @@ -73,7 +73,7 @@ class AmigoChat(AsyncGeneratorProvider, ProviderModelMixin): elif model in cls.model_aliases: return cls.model_aliases[model] else: - return cls.default_chat_model if model in cls.chat_models else cls.default_image_model + return cls.default_model @classmethod def get_personaId(cls, model: str) -> str: |