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

XFEstudio/gpt4free

Fix unittests

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

代码差异

2 个文件 +2 -1
Modified g4f/Provider/Copilot.py +1 -0
@@ -48,6 +48,7 @@ class Copilot(AsyncAuthedProvider, ProviderModelMixin):
48 48 default_model = "Copilot"
49 49 models = [default_model, "Think Deeper"]
50 50 model_aliases = {
51 "o1": "Think Deeper",
51 52 "gpt-4": default_model,
52 53 "gpt-4o": default_model,
53 54 }
Modified g4f/tools/web_search.py +1 -1
@@ -177,7 +177,7 @@ async def search(
177 177 backend: str = "auto",
178 178 add_text: bool = True,
179 179 timeout: int = 5,
180 region: str = "wt-wt",
180 region: str = "us-en",
181 181 provider: str = "DDG"
182 182 ) -> SearchResults:
183 183 """