mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
Add MetaAI Provider and some small improvments
This commit is contained in:
parent
a27d908696
commit
932d3a3ca0
12 changed files with 221 additions and 12 deletions
|
|
@ -99,7 +99,7 @@ class Api():
|
|||
if api_key is not None:
|
||||
kwargs["api_key"] = api_key
|
||||
if json_data.get('web_search'):
|
||||
if provider == "Bing":
|
||||
if provider in ("Bing", "HuggingChat"):
|
||||
kwargs['web_search'] = True
|
||||
else:
|
||||
from .internet import get_search_message
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue