Update api / add a synthesize and upload_cookies endpoint (#2406)

* Add web_search function to OpenaiChat provider
* GithubCopilot provider added, it need a api_key
* Remove nodriver login in Gemini synthesize

* Update api / add a synthesize and upload_cookies endpoint
This commit is contained in:
H Lohaus
2024-11-23 00:17:35 +01:00
committed by GitHub
parent e8bd24a25b
commit 431db7b8ea
10 changed files with 225 additions and 41 deletions

View File

@@ -31,6 +31,20 @@ EXTRA_REQUIRE = {
"fastapi", # api
"uvicorn", # api
"nodriver",
"python-multipart",
],
'slim': [
"curl_cffi>=0.6.2",
"certifi",
"duckduckgo-search>=5.0" ,# internet.search
"beautifulsoup4", # internet.search and bing.create_images
"aiohttp_socks", # proxy
"pillow", # image
"cairosvg", # svg image
"werkzeug", "flask", # gui
"fastapi", # api
"uvicorn", # api
"python-multipart",
],
'slim': [
"curl_cffi>=0.6.2",
@@ -69,7 +83,8 @@ EXTRA_REQUIRE = {
"werkzeug", "flask",
"beautifulsoup4", "pillow",
"duckduckgo-search>=5.0",
"browser_cookie3"
"browser_cookie3",
"python-multipart",
],
"search": [
"beautifulsoup4", "pillow",