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

XFEstudio/gpt4free

Fix unitests

afc94b2e
Heiner Lohaus <hlohaus@users.noreply.github.com>
提交于

代码差异

2 个文件 +3 -6
Modified g4f/gui/webview.py +2 -3
@@ -38,8 +38,7 @@ def run_webview(
38 38 storage_path=storage_path,
39 39 debug=debug,
40 40 http_port=http_port,
41 ssl=ssl,
42 gui=gui
41 ssl=ssl
43 42 )
44 43
45 44 if __name__ == "__main__":
@@ -47,4 +46,4 @@ if __name__ == "__main__":
47 46 args = parser.parse_args()
48 47 if args.debug:
49 48 g4f.debug.logging = True
50 run_webview(args.debug, args.port)
49 run_webview(args.debug, args.port, not args.debug)
Modified g4f/models.py +1 -3
@@ -213,8 +213,7 @@ mistral_nemo = Model(
213 213
214 214 mistral_large = Model(
215 215 name = "mistral-large",
216 base_provider = "Mistral",
217 best_provider = PollinationsAI
216 base_provider = "Mistral"
218 217 )
219 218
220 219 ### NousResearch ###
@@ -348,7 +347,6 @@ command_r_plus = Model(
348 347 command_r = Model(
349 348 name = 'command-r',
350 349 base_provider = 'CohereForAI',
351 best_provider = PollinationsAI
352 350 )
353 351
354 352 ### Qwen ###