XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

Add SearXNG provider and support in web_search

c3625c56
theRedCount <landero88@gmail.com>
提交于

代码差异

1 个文件 +2 -3
Modified g4f/Provider/SearXNG.py +2 -3
@@ -8,9 +8,8 @@ from ..tools.web_search import fetch_and_scrape
8 8
9 9 class SearXNG(AsyncGeneratorProvider):
10 10 default_url = os.environ.get("SEARXNG_URL", "http://searxng:8080")
11 label = "SearXNG (configurable)"
12 models = ["searx"]
13
11 label = "SearXNG"
12
14 13 @classmethod
15 14 async def create_async_generator(
16 15 cls,