Fix unitests

This commit is contained in:
Heiner Lohaus 2025-01-05 20:26:51 +01:00
parent 13b6fdef98
commit afc94b2e36
2 changed files with 3 additions and 6 deletions

View file

@ -38,8 +38,7 @@ def run_webview(
storage_path=storage_path,
debug=debug,
http_port=http_port,
ssl=ssl,
gui=gui
ssl=ssl
)
if __name__ == "__main__":
@ -47,4 +46,4 @@ if __name__ == "__main__":
args = parser.parse_args()
if args.debug:
g4f.debug.logging = True
run_webview(args.debug, args.port)
run_webview(args.debug, args.port, not args.debug)

View file

@ -213,8 +213,7 @@ mistral_nemo = Model(
mistral_large = Model(
name = "mistral-large",
base_provider = "Mistral",
best_provider = PollinationsAI
base_provider = "Mistral"
)
### NousResearch ###
@ -348,7 +347,6 @@ command_r_plus = Model(
command_r = Model(
name = 'command-r',
base_provider = 'CohereForAI',
best_provider = PollinationsAI
)
### Qwen ###