From d7b0c2230d95533452026d111a52403e718558c0 Mon Sep 17 00:00:00 2001 From: kqlio67 Date: Sat, 19 Oct 2024 22:38:54 +0300 Subject: fix(g4f/Provider/AmigoChat.py): correct image generation prompt index 2 --- g4f/Provider/AmigoChat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/Provider/AmigoChat.py') 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: -- cgit v1.2.3