XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

fix(g4f/Provider/AmigoChat.py): correct image generation prompt index 2

d7b0c223
kqlio67 <kqlio67@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified g4f/Provider/AmigoChat.py +1 -1
@@ -73,7 +73,7 @@ class AmigoChat(AsyncGeneratorProvider, ProviderModelMixin):
73 73 elif model in cls.model_aliases:
74 74 return cls.model_aliases[model]
75 75 else:
76 return cls.default_chat_model if model in cls.chat_models else cls.default_image_model
76 return cls.default_model
77 77
78 78 @classmethod
79 79 def get_personaId(cls, model: str) -> str: