mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
active_by_default
This commit is contained in:
parent
2d3b215dbb
commit
6f8c5ea62b
18 changed files with 18 additions and 3175 deletions
|
|
@ -100,7 +100,7 @@ class Api:
|
|||
"vision": getattr(provider, "default_vision_model", None) is not None,
|
||||
"nodriver": getattr(provider, "use_nodriver", False),
|
||||
"hf_space": getattr(provider, "hf_space", False),
|
||||
"active_by_default": not provider.needs_auth if provider.active_by_default is None else provider.active_by_default,
|
||||
"active_by_default": False if provider.active_by_default is None else provider.active_by_default,
|
||||
"auth": provider.needs_auth,
|
||||
"login_url": getattr(provider, "login_url", None),
|
||||
} for provider in Provider.__providers__ if provider.working and safe_get_models(provider)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue