mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-11-03 10:30:57 +08:00
Add MetaAI Provider and some small improvments
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user