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

XFEstudio/gpt4free

Enable OpenRouter

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

代码差异

1 个文件 +1 -1
Modified g4f/Provider/needs_auth/OpenRouter.py +1 -1
@@ -11,11 +11,11 @@ class OpenRouter(OpenaiTemplate):
11 11 working = True
12 12 needs_auth = True
13 13 default_model = DEFAULT_MODEL
14 active_by_default = True
14 15
15 16 class OpenRouterFree(OpenRouter):
16 17 parent = "OpenRouter"
17 18 label = "OpenRouter (free)"
18 active_by_default = True
19 19
20 20 @classmethod
21 21 def get_models(cls, api_key: str = None, **kwargs):