Provider Updates and Fixes (#2570)

* Update providers, restore old providers, remove non-working providers

* Restoring the original providers

* Restore the original provider g4f/Provider/needs_auth/GeminiPro.py

* Deleted non-working providers, fixed providers

* Update docs/providers-and-models.md g4f/models.py g4f/Provider/hf_space/CohereForAI.py

* Restore g4f/Provider/Airforce.py Updated alias g4f/Provider/hf_space/CohereForAI.py

* Disabled provider 'g4f/Provider/ReplicateHome.py' and moved to 'g4f/Provider/not_working'

* Disconnected provider problem with Pizzagpt response

* Fix for why web_search = True didn't work

* Update docs/client.md

* Fix for why web_search = True did not work in the asychronous and sychronous versions

---------

Co-authored-by: kqlio67 <>
This commit is contained in:
kqlio67 2025-01-15 21:35:05 +00:00 committed by GitHub
parent 3f39890699
commit f105451947
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 637 additions and 728 deletions

View file

@ -43,7 +43,6 @@ class HuggingChat(AbstractProvider, ProviderModelMixin):
'nvidia/Llama-3.1-Nemotron-70B-Instruct-HF',
'Qwen/Qwen2.5-Coder-32B-Instruct',
'meta-llama/Llama-3.2-11B-Vision-Instruct',
'NousResearch/Hermes-3-Llama-3.1-8B',
'mistralai/Mistral-Nemo-Instruct-2407',
'microsoft/Phi-3.5-mini-instruct',
] + image_models
@ -56,7 +55,6 @@ class HuggingChat(AbstractProvider, ProviderModelMixin):
"nemotron-70b": "nvidia/Llama-3.1-Nemotron-70B-Instruct-HF",
"qwen-2.5-coder-32b": "Qwen/Qwen2.5-Coder-32B-Instruct",
"llama-3.2-11b": "meta-llama/Llama-3.2-11B-Vision-Instruct",
"hermes-3": "NousResearch/Hermes-3-Llama-3.1-8B",
"mistral-nemo": "mistralai/Mistral-Nemo-Instruct-2407",
"phi-3.5-mini": "microsoft/Phi-3.5-mini-instruct",