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

XFEstudio/gpt4free

Exclude evil

00b348d0
hlohaus <983577+hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified g4f/Provider/PollinationsAI.py +1 -1
@@ -479,7 +479,7 @@ class PollinationsAI(AsyncGeneratorProvider, ProviderModelMixin):
479 479 yield chunk
480 480 if full_resposne:
481 481 full_content = "".join(full_resposne)
482 if kwargs.get("action") == "next":
482 if kwargs.get("action") == "next" and model != "evil":
483 483 tool_messages = []
484 484 for message in messages:
485 485 if message.get("role") == "user":