Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Try to fix Captcha Issue | Heiner Lohaus | 2024-02-17 | 1 | -1/+4 |
| | |||||
* | Improve create conversation in Bing | Heiner Lohaus | 2024-02-17 | 2 | -4/+17 |
| | |||||
* | Merge pull request #1587 from hlohaus/openai | H Lohaus | 2024-02-14 | 4 | -126/+94 |
|\ | | | | | Add unitests for the client | ||||
| * | Add unitests for the client | Heiner Lohaus | 2024-02-14 | 4 | -126/+94 |
| | | | | | | | | | | Fix: async generator ignored GeneratorExit Fix: ResourceWarning: unclosed event loop | ||||
* | | Update Bing Sets | Eikosa | 2024-02-12 | 1 | -2/+4 |
|/ | | | Needs to be tested, if this addition is not made, bing will not work well enough | ||||
* | Add variant example | Heiner Lohaus | 2024-02-12 | 1 | -5/+11 |
| | |||||
* | Add new Client API with Docs | Heiner Lohaus | 2024-02-12 | 10 | -124/+391 |
| | | | | | | | Use object urls for the preview of image uploads. Fix upload images in You provider Fix create image. It's now a single image. Improve system message for create images. | ||||
* | Improve preview in image generation of Gemini | Heiner Lohaus | 2024-02-11 | 3 | -5/+8 |
| | | | | Fix issue in Bing Image Decorator | ||||
* | Add disable history button in GUI | Heiner Lohaus | 2024-02-11 | 2 | -4/+14 |
| | |||||
* | Fix select chat mode, fix auth value in You | Heiner Lohaus | 2024-02-11 | 1 | -3/+3 |
| | |||||
* | Add upload image support in You | Heiner Lohaus | 2024-02-11 | 1 | -50/+105 |
| | |||||
* | Add upload image in You provider | Heiner Lohaus | 2024-02-11 | 2 | -1/+3 |
| | |||||
* | Fix convert image to jpg in Bing | Heiner Lohaus | 2024-02-11 | 2 | -15/+16 |
| | | | | Fix display upload image in GUI | ||||
* | Add GPT 4 support in You, Add camera input, Enable logging on debug in GUI, Don't load expired cookies | Heiner Lohaus | 2024-02-11 | 7 | -30/+136 |
| | |||||
* | Update image.py | H Lohaus | 2024-02-10 | 1 | -2/+2 |
| | |||||
* | Fix process_image to handle transparency correctly | Rafael Fonseca | 2024-02-10 | 1 | -1/+1 |
| | |||||
* | Update Gemini.py | H Lohaus | 2024-02-09 | 1 | -1/+0 |
| | |||||
* | Read cookies from config in Gemini | Heiner Lohaus | 2024-02-09 | 5 | -9/+14 |
| | | | | Fixes for OpenaiChat Provider | ||||
* | Update OpenaiChat.py | H Lohaus | 2024-02-09 | 1 | -1/+1 |
| | |||||
* | Update provider and model list (#1568) | H Lohaus | 2024-02-09 | 13 | -200/+215 |
| | | | | Move bing.create_images and cookies helper Disable some providers | ||||
* | Merge pull request #1565 from hlohaus/gemini0.2.1.1 | H Lohaus | 2024-02-09 | 3 | -10/+67 |
|\ | | | | | Fix OpenaiChat provider, Fix issue with curl_cffi | ||||
| * | Fix Phind Provider / add generate_challenge | Heiner Lohaus | 2024-02-09 | 2 | -3/+49 |
| | | |||||
| * | Fix OpenaiChat provider, Fix issue with curl_cffi | Heiner Lohaus | 2024-02-09 | 1 | -7/+18 |
| | | |||||
* | | Merge pull request #1564 from hlohaus/gemini | H Lohaus | 2024-02-09 | 13 | -44/+258 |
|\| | | | | | Add Gemini Provider with image upload and generation | ||||
| * | Add example for Image Upload & Generation | Heiner Lohaus | 2024-02-09 | 2 | -19/+22 |
| | | |||||
| * | Resolve images in Gemini Provider | Heiner Lohaus | 2024-02-09 | 3 | -6/+42 |
| | | |||||
| * | Add Gemini Provider with image upload and generation | Heiner Lohaus | 2024-02-08 | 12 | -39/+214 |
| | | |||||
* | | add CodeLlama-70b to HuggingChat | Miezhiko | 2024-02-06 | 1 | -1/+2 |
| | | |||||
* | | Merge pull request #1547 from nullstreak/codellama-70b0.2.1.0 | H Lohaus | 2024-02-05 | 1 | -1/+8 |
|\ \ | | | | | | | Added CodeLlama 70b model | ||||
| * | | Added CodeLlama 70b | nullstreak | 2024-02-04 | 1 | -1/+8 |
| |/ | |||||
* / | Change GeekGPT and FakeGPT status to inactive as owner statement: https://linux.do/t/topic/1051 | RasyiidWho | 2024-02-05 | 2 | -2/+2 |
|/ | |||||
* | Fix key error in set_cookies | Heiner Lohaus | 2024-02-01 | 1 | -1/+1 |
| | |||||
* | Fix issue #1537, copy options sets | Heiner Lohaus | 2024-02-01 | 1 | -1/+1 |
| | |||||
* | Fix DeepInfra: Model is not supported | nullstreak | 2024-01-30 | 1 | -1/+2 |
| | |||||
* | Add aiohttp_socks to requirements | Heiner Lohaus | 2024-01-29 | 11 | -74/+93 |
| | | | | | Fix preview for uploaded and generated images in gui Improve typing, readme | ||||
* | Merge pull request #1523 from u66u/which-webdriver | H Lohaus | 2024-01-29 | 1 | -2/+6 |
|\ | | | | | Fix chromedriver path | ||||
| * | 1. Discover chromedriver dynamically with "which". 2. Use "finally" in WebDriverSession.__exit__ | technicca | 2024-01-28 | 1 | -2/+6 |
| | | |||||
* | | remove additional tags in Phind | Houtar | 2024-01-28 | 1 | -0/+2 |
|/ | | | Phind added new additional tags to their reply and this commit removed them. | ||||
* | Fix PerplexityLabs Provider, Improve bypass_cloudflare helper | Heiner Lohaus | 2024-01-27 | 11 | -164/+186 |
| | |||||
* | Fix: ChromeDriver only supports characters in the BMP | Heiner Lohaus | 2024-01-26 | 17 | -60/+73 |
| | | | | Add set_cookies helper, Show last used model | ||||
* | New minimum requirements (#1515)0.2.0.6 | H Lohaus | 2024-01-26 | 28 | -265/+394 |
| | | | | | | | * New minimum requirements * Add ConversationStyleOptionSets to Bing * Add image.ImageRequest * Improve python version support * Improve unittests | ||||
* | Merge pull request #1510 from hlohaus/sort0.2.0.5 | H Lohaus | 2024-01-24 | 8 | -26/+50 |
|\ | | | | | Add aiohttp_socks support | ||||
| * | Add get_connector helper | Heiner Lohaus | 2024-01-24 | 8 | -41/+29 |
| | | |||||
| * | Add aiohttp_socks support | Heiner Lohaus | 2024-01-23 | 5 | -21/+57 |
| | | |||||
* | | Merge pull request #1509 from hlohaus/sort | H Lohaus | 2024-01-23 | 9 | -94/+116 |
|\| | | | | | Add ProviderModelMixin for model selection | ||||
| * | Add ProviderModelMixin for model selection | Heiner Lohaus | 2024-01-23 | 8 | -88/+104 |
| | | |||||
| * | Upload transparency image | Heiner Lohaus | 2024-01-23 | 1 | -6/+12 |
| | | |||||
* | | ~ | Update Chatgpt4Online.py | Tekky | 2024-01-23 | 1 | -2/+2 |
| | | | | | | clouldfare block on Chatgpt4Online | ||||
* | | Merge pull request #1508 from hlohaus/sort | H Lohaus | 2024-01-23 | 1 | -4/+5 |
|\| | | | | | Fix: Model sometimes not converted #1507 | ||||
| * | Fix: Model sometimes not converted #1507 | Heiner Lohaus | 2024-01-23 | 1 | -4/+5 |
| | | |||||
* | | Added CodeLlama and misc models from DeepInfra (#1506) | nullstreak | 2024-01-23 | 1 | -5/+25 |
|/ | |||||
* | Fix background in select box | Heiner Lohaus | 2024-01-23 | 1 | -1/+1 |
| | |||||
* | Cleanup model list | Heiner Lohaus | 2024-01-23 | 3 | -185/+53 |
| | |||||
* | Revert "Cleanup unused dependencies" | Heiner Lohaus | 2024-01-23 | 6 | -17/+6989 |
| | | | | This reverts commit c2115309aba793530f7072848154fcad97d866b1. | ||||
* | Add PerplexityLabs Provider | Heiner Lohaus | 2024-01-23 | 2 | -2/+100 |
| | |||||
* | Add upload svg image support | Heiner Lohaus | 2024-01-23 | 6 | -26/+51 |
| | | | | Fix upload image in Bing Provider | ||||
* | Improve CreateImagesBing | Heiner Lohaus | 2024-01-22 | 14 | -83/+68 |
| | | | | Sort providers by category | ||||
* | Join Phind context | Heiner Lohaus | 2024-01-21 | 1 | -1/+1 |
| | |||||
* | Fix Phind context and chat history not keeping up with the prompt | RasyiidWho | 2024-01-21 | 1 | -3/+3 |
| | |||||
* | Merge pull request #1489 from hlohaus/neww0.2.0.4 | Tekky | 2024-01-21 | 1 | -7/+3 |
|\ | | | | | Fix load json in DeepInfra | ||||
| * | Fix load json in DeepInfra | Heiner Lohaus | 2024-01-21 | 1 | -7/+3 |
| | | |||||
* | | Merge pull request #1488 from nullstreak/dolphin-mixtral | Tekky | 2024-01-21 | 1 | -0/+13 |
|\ \ | |/ |/| | Add dolphin-2.6-mixtral-8x7b model | ||||
| * | Add dolphin-2.6-mixtral-8x7b | nullstreak | 2024-01-21 | 1 | -0/+13 |
| | | |||||
* | | Merge pull request #1487 from nullstreak/deepinfra-patch | H Lohaus | 2024-01-21 | 1 | -9/+16 |
|\ \ | | | | | | | DeepInfra: Fix token duplication | ||||
| * | | DeepInfra: Fix token duplication | nullstreak | 2024-01-21 | 1 | -9/+16 |
| |/ | |||||
* | | Merge pull request #1486 from hlohaus/copilot | H Lohaus | 2024-01-21 | 5 | -35/+43 |
|\ \ | |/ |/| | Improve tests | ||||
| * | Improve tests | Heiner Lohaus | 2024-01-21 | 5 | -35/+43 |
| | | |||||
* | | Merge pull request #1484 from hlohaus/copilot | H Lohaus | 2024-01-21 | 3 | -10/+27 |
|\| | | | | | Copilot | ||||
| * | Check access from chromedriver | Heiner Lohaus | 2024-01-20 | 1 | -1/+3 |
| | | |||||
| * | Remove usage of get_event_loop helper | Heiner Lohaus | 2024-01-20 | 2 | -9/+24 |
| | | |||||
* | | Llama2.py result decode error | diaodeng | 2024-01-18 | 1 | -2/+2 |
|/ | |||||
* | Remove deprecation in get_event_loop | Heiner Lohaus | 2024-01-14 | 1 | -4/+10 |
| | |||||
* | Fix unittests (#1472) | H Lohaus | 2024-01-14 | 2 | -11/+10 |
| | | | | | | | | | * Fix unittests * Fix missing distutils, install setuptools * Fix version not found * Remove deprecation in get_event_loop | ||||
* | Fix unittests | Heiner Lohaus | 2024-01-14 | 1 | -12/+40 |
| | |||||
* | Change doctypes style to Google | Heiner Lohaus | 2024-01-14 | 8 | -104/+386 |
| | | | | | | Fix typo in latest_version Fix Phind Provider Add unittest worklow and main tests | ||||
* | Refactor code with AI | Heiner Lohaus | 2024-01-14 | 19 | -564/+1400 |
| | | | | | | | Add doctypes to many functions Add file upload for text files Add alternative url to FreeChatgpt Add webp to allowed image types | ||||
* | Fix process_image in Bing | Heiner Lohaus | 2024-01-13 | 6 | -22/+23 |
| | | | | | Add ImageResponse to Bing Fix cursor styling in gui | ||||
* | Improve FreeChatgpt Provider | Heiner Lohaus | 2024-01-13 | 2 | -39/+49 |
| | |||||
* | Added support for more models: FreeChatgpt (#1456) | Debaditya Banerji | 2024-01-13 | 2 | -47/+50 |
| | | | | | | * Improved FreeChatgpt, added support for more models * Added new model: Gemini Pro | ||||
* | Fix merge issues | Heiner Lohaus | 2024-01-13 | 2 | -5/+3 |
| | |||||
* | Merge branch 'main' into main | H Lohaus | 2024-01-13 | 17 | -425/+605 |
|\ | |||||
| * | Merge pull request #1462 from hlohaus/img | H Lohaus | 2024-01-13 | 17 | -427/+605 |
| |\ | | | | | | | Support upload image in gui | ||||
| | * | Support upload image in gui | Heiner Lohaus | 2024-01-13 | 17 | -427/+605 |
| | | | | | | | | | | | | | | | | | | | | | Add image upload to OpenaiChat Add image response to OpenaiChat Improve ChatGPT Plus Support Remove unused requirements | ||||
* | | | Cleanup unused dependencies | Akash Mondal | 2024-01-13 | 7 | -6992/+20 |
|/ / | | | | | | | | | | | | | | | * remove packages, that are not a direct dependency to this project, from requirements.txt * no need to just numpy for simple sqrt operation on numbers * write code on python than using a js compiler | ||||
* | | Merge branch 'main' into pypi | Tekky | 2024-01-12 | 1 | -0/+0 |
|\ \ | |/ |/| | |||||
| * | Fixed Error "No module named g4f.Provider.bing" (#1448) | Debaditya Banerji | 2024-01-11 | 1 | -0/+0 |
| | | | | | | * Added init file to initiate bing as a Module | ||||
* | | Add publish-to-pypi workflow | Heiner Lohaus | 2024-01-12 | 4 | -10/+14 |
|/ | | | | | Improve gui frontend Fix web search in bing | ||||
* | Fix create_async in CreateImagesProvider | Heiner Lohaus | 2024-01-10 | 1 | -5/+8 |
| | |||||
* | Fix bing stream func | Heiner Lohaus | 2024-01-10 | 1 | -1/+1 |
| | |||||
* | Added timeout to Bing (#1438)0.1.9.10 | Eikosa | 2024-01-10 | 1 | -8/+9 |
| | | | Co-authored-by: H Lohaus <hlohaus@users.noreply.github.com> | ||||
* | Add create images to Bing (#1426) | H Lohaus | 2024-01-10 | 18 | -307/+671 |
| | | | | | Add create images from Bing Add FreeChatgpt Provider Fix Bard Provider | ||||
* | Fix module 'g4f.debug' has no attribute 'get_version' | Ramon Victor Cardoso | 2024-01-04 | 1 | -1/+1 |
| | |||||
* | Add GeminiProChat Provider (#1419) | H Lohaus | 2024-01-02 | 3 | -6/+59 |
| | | | * Add GeminiProChat Provider | ||||
* | New Provider 'Bestim' (#1416) | 4sh | 2024-01-02 | 2 | -0/+79 |
| | | | * Add new provider Bestim | ||||
* | Fix markdown replace | Heiner Lohaus | 2024-01-02 | 1 | -1/+3 |
| | |||||
* | Fix DeepInfra Provider | Heiner Lohaus | 2024-01-01 | 1 | -40/+48 |
| | |||||
* | Fix permissions for chromedriver | Heiner Lohaus | 2024-01-01 | 2 | -2/+3 |
| | | | | | Fix NoVNC server access Remove java from build | ||||
* | Add support for all models | Heiner Lohaus | 2024-01-01 | 43 | -280/+393 |
| | | | | | | | | | Add AbstractProvider class Add ProviderType type Add get_last_provider function Add version module and VersionUtils Display used provider in gui Fix error response in api | ||||
* | Patch event loop on win, Check event loop closed | Heiner Lohaus | 2024-01-01 | 2 | -21/+24 |
| | |||||
* | Add _puid cookie, save access_token in cookies in OpenaiChat | Heiner Lohaus | 2024-01-01 | 1 | -7/+19 |
| | |||||
* | Fix Chatgpt4Online provider | Heiner Lohaus | 2023-12-31 | 1 | -17/+47 |
| | |||||
* | Fix Liabots session | Heiner Lohaus | 2023-12-31 | 1 | -4/+10 |
| | |||||
* | Merge pull request #1406 from OmiiiDev/patch-1 | H Lohaus | 2023-12-31 | 1 | -3/+40 |
|\ | | | | | Update Liaobots.py | ||||
| * | Update Liaobots.py | OmiiiDev | 2023-12-29 | 1 | -3/+40 |
| | | | | | | Added more models | ||||
* | | remove unnecessary semicolon | Yash Varshney | 2023-12-31 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #1389 from hlohaus/gpt6 | H Lohaus | 2023-12-27 | 4 | -1/+61 |
|\ | | | | | Add Gpt6 Provider | ||||
| * | Add Gpt6 Provider | Heiner Lohaus | 2023-12-25 | 4 | -1/+61 |
| | | |||||
* | | Merge pull request #1390 from hlohaus/p38 | H Lohaus | 2023-12-27 | 1 | -2/+2 |
|\ \ | | | | | | | Support Python 3.8 | ||||
| * | | Support Python 3.8 | Heiner Lohaus | 2023-12-25 | 1 | -2/+2 |
| |/ | |||||
* | | Improve Chatxyz Provider | Heiner Lohaus | 2023-12-27 | 1 | -22/+14 |
| | | |||||
* | | Added new Provider Chatxyz (#1393) | Debaditya Banerji | 2023-12-27 | 2 | -0/+69 |
| | | | | | | | | | | | | | | * Added fucntionality for Provider * Added Provider in init * System message if present must be the first object in message array | ||||
* | | Fix Phind provider | Zabir Raihan | 2023-12-26 | 1 | -3/+4 |
|/ | |||||
* | Update get_latest_version for docker | Heiner Lohaus | 2023-12-24 | 1 | -2/+8 |
| | |||||
* | Fix api run module | Heiner Lohaus | 2023-12-23 | 1 | -1/+1 |
| | |||||
* | Fix api and None provider | Heiner Lohaus | 2023-12-23 | 1 | -20/+12 |
| | |||||
* | Fix streaming in Aura | Heiner Lohaus | 2023-12-23 | 1 | -1/+2 |
| | |||||
* | Fix streaming in Aura | Heiner Lohaus | 2023-12-23 | 1 | -12/+11 |
| | |||||
* | Added OpenChat's Aura Model as a new Provider (#1371) | Debaditya Banerji | 2023-12-23 | 2 | -1/+57 |
| | | | | | * Added File for new Provider: Aura * Added Aura Provider in init | ||||
* | Update models.py | nullstreak | 2023-12-21 | 1 | -0/+7 |
| | |||||
* | Update Bing.py | nullstreak | 2023-12-21 | 1 | -4/+12 |
| | |||||
* | Bing: add parameter to enable/disable web search (#1360) | nullstreak | 2023-12-19 | 1 | -4/+8 |
| | | | Web search is disabled by default and can be enabled by passing `web_search = True` | ||||
* | Merge pull request #1365 from NiNiyas/fix-typo | H Lohaus | 2023-12-19 | 2 | -3/+3 |
|\ | | | | | fix(typo): Fix typo in function name | ||||
| * | fix(g4f): Fix typo in function name | NiNiyas | 2023-12-19 | 2 | -3/+3 |
| | | |||||
* | | Merge pull request #1364 from eminemkun/main | H Lohaus | 2023-12-19 | 1 | -2/+7 |
|\ \ | | | | | | | Fix Bing provider Cookie issue 2 | ||||
| * | | Fix Bing provider Cookie issue 2 | eminemkun | 2023-12-18 | 1 | -2/+7 |
| |/ | |||||
* / | Removed the condition for filtering token_ids | devAdityaa | 2023-12-19 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #1356 from eminemkun/main | H Lohaus | 2023-12-16 | 1 | -2/+1 |
|\ | | | | | Fix Bing provider Cookie issue | ||||
| * | Fix Bing provider Cookie issue | eminemkun | 2023-12-16 | 1 | -2/+1 |
| | | |||||
* | | Merge pull request #1352 from nullstreak/main | H Lohaus | 2023-12-16 | 1 | -2/+7 |
|\ \ | | | | | | | HuggingChat: Strip leading whitespace from the first token in the stream | ||||
| * | | HuggingChat: Strip leading whitespace from the first token in the stream | nullstreak | 2023-12-15 | 1 | -2/+7 |
| |/ | | | | | For some reason first token from the stream on HuggingChat always starts with a whitespace. This commit strips the leading whitespace from the first token in the stream to fix this issue. | ||||
* / | Fix remove NoowAi, Fix download dir in docker | Heiner Lohaus | 2023-12-16 | 1 | -1/+0 |
|/ | |||||
* | Moved NoowAI to deprecated folder as it's been officially taken down | devAdityaa | 2023-12-15 | 1 | -0/+0 |
| | |||||
* | Remove VoiGpt | H Lohaus | 2023-12-14 | 1 | -5/+1 |
| | |||||
* | Remove VoiGpt | H Lohaus | 2023-12-14 | 1 | -1/+0 |
| | |||||
* | Add providers in api | alvarosoares01@gmail.com | 2023-12-14 | 1 | -0/+6 |
| | |||||
* | Merge pull request #1343 from nullstreak/main | Tekky | 2023-12-13 | 1 | -1/+16 |
|\ | | | | | Add Mistral models | ||||
| * | Add Mistral models | nullstreak | 2023-12-13 | 1 | -1/+16 |
| | | |||||
* | | Merge pull request #1341 from GEOEGII555/patch-1 | Tekky | 2023-12-13 | 1 | -1/+1 |
|\ \ | | | | | | | VoiGpt stopped working -> changed the working flag to False and moved it to deprecated providers. | ||||
| * | | Update and rename g4f/Provider/VoiGpt.py to g4f/Provider/deprecated/VoiGpt.py | GEOEGII555 | 2023-12-12 | 1 | -1/+1 |
| |/ | |||||
* | | Merge pull request #1331 from hlohaus/proxy | Tekky | 2023-12-13 | 10 | -238/+252 |
|\ \ | |/ |/| | Add G4F_PROXY environment | ||||
| * | Change default port for gui | Heiner Lohaus | 2023-12-11 | 3 | -7/+7 |
| | | | | | | | | | | | | Change default host for api Disable gui in build Add custom docker user | ||||
| * | Add error classes | Heiner Lohaus | 2023-12-11 | 5 | -70/+105 |
| | | | | | | | | Move version check to debug | ||||
| * | Improve error handling in gui | Heiner Lohaus | 2023-12-10 | 2 | -59/+45 |
| | | |||||
| * | Add G4F_PROXY environment | Heiner Lohaus | 2023-12-10 | 5 | -120/+113 |
| | | | | | | | | Add regenerate button in gui | ||||
* | | Remove needs_auth, add proxy support in VoiGpt | Heiner Lohaus | 2023-12-10 | 3 | -81/+95 |
| | | |||||
* | | Added a new provider voigpt.com (#1328) | Meshwa428 | 2023-12-10 | 3 | -1/+85 |
|/ | | | | | | | * added the new VoiGpt provider * fixed the voigpt and moved it to needs_auth * added auth detail and doc to voiGpt provider | ||||
* | Fix llama2 provider, Update TOC in readme (#1325) | H Lohaus | 2023-12-08 | 1 | -9/+7 |
| | |||||
* | Update readme. Add docker hub | Heiner Lohaus | 2023-12-07 | 2 | -3/+3 |
| | |||||
* | Add websearch to gui (#1314) | H Lohaus | 2023-12-07 | 12 | -123/+333 |
| | | | | | | | | * Add websearch to gui * Fix version_check config * Add version badge in README.md * Show version in gui * Add docker hub build * Fix gui backend, improve style | ||||
* | Update Pi.py | H Lohaus | 2023-12-06 | 1 | -3/+6 |
| | |||||
* | ~ | g4f v-0.1.9.20.1.9.2 | abc | 2023-12-06 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1309 from hlohaus/go | H Lohaus | 2023-12-06 | 12 | -143/+127 |
|\ | | | | | Add selenium to dockerfile | ||||
| * | Improve docker image | Heiner Lohaus | 2023-12-06 | 3 | -2/+7 |
| | | |||||
| * | Add selenium to dockerfile | Heiner Lohaus | 2023-12-06 | 12 | -143/+122 |
| | | | | | | | | | | | | Load model and provider list in gui Remove needs_auth in HuggingChat Add default model and login url in gui | ||||
* | | ~ | g4f `v-0.1.9.1`0.1.9.1 | abc | 2023-12-02 | 1 | -1/+1 |
|/ | |||||
* | Add get_session_from_browser as cloudflare bypass | Heiner Lohaus | 2023-12-02 | 13 | -115/+110 |
| | |||||
* | Add proxy support / fix streaming | Heiner Lohaus | 2023-12-02 | 1 | -15/+13 |
| | |||||
* | Update pi provider | Heiner Lohaus | 2023-12-01 | 4 | -117/+98 |
| | |||||
* | Added new provider PI (Hacky way to use) (#1291) | madonchik123 | 2023-12-01 | 6 | -12/+144 |
| | | | | | | | | | * Added new provider PI (Hacky way to use) * Updated models endpoint made it show real info about the model.py * Added cloudscraper to the requirements * Fixed some bugs aka made streaming also return role | ||||
* | ~ | abc | 2023-11-24 | 2 | -2/+2 |
| | | | | chatgptx not working | ||||
* | ~ | abc | 2023-11-24 | 2 | -59/+56 |
| | | | | fix DeepInfra | ||||
* | ~ | g4f `v-0.1.9.0` | abc | 2023-11-24 | 1 | -1/+1 |
| | |||||
* | Fix ChatgptAi Provider | Heiner Lohaus | 2023-11-22 | 1 | -1/+2 |
| | |||||
* | Add GptTalkRu Provider | Heiner Lohaus | 2023-11-22 | 2 | -0/+50 |
| | |||||
* | Disable ChatgptDemoAi, ChatAnywhere and Berlin | Heiner Lohaus | 2023-11-22 | 3 | -5/+6 |
| | |||||
* | Fix Phind and GptGo Provider | Heiner Lohaus | 2023-11-22 | 5 | -131/+188 |
| | |||||
* | ~ | g4f v-0.1.8.90.1.8.9 | abc | 2023-11-20 | 2 | -7/+11 |
| | |||||
* | ~ | improve compatibility | abc | 2023-11-20 | 15 | -29/+65 |
| | |||||
* | Merge branch 'main' into webdriver | Tekky | 2023-11-20 | 1 | -0/+15 |
|\ | |||||
| * | Fix tupo in GptGo | razrab | 2023-11-20 | 1 | -2/+2 |
| | | |||||
* | | Update AItianhu.py | H Lohaus | 2023-11-20 | 1 | -3/+4 |
| | | |||||
* | | Update GptGo.py | H Lohaus | 2023-11-20 | 1 | -2/+3 |
| | | |||||
* | | Support stream in create_async | Heiner Lohaus | 2023-11-20 | 1 | -7/+9 |
| | | |||||
* | | Add webdriver module | Heiner Lohaus | 2023-11-20 | 14 | -269/+219 |
| | | |||||
* | | Add auto support params method | Heiner Lohaus | 2023-11-20 | 26 | -355/+56 |
|/ | |||||
* | ~ | | abc | 2023-11-20 | 5 | -12/+13 |
| | | | | trying to improve compability with python versions < 3.8 | ||||
* | ~ | g4f `v-0.1.8.7`0.1.8.7 | abc | 2023-11-20 | 1 | -1/+1 |
| | |||||
* | ~ | improve compatibility with lower python versions | abc | 2023-11-19 | 2 | -13/+13 |
| | | | | remove tiktoken | ||||
* | ~ | g4f v-0.1.8.6 | abc | 2023-11-19 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1269 from hlohaus/any | Tekky | 2023-11-19 | 11 | -448/+461 |
|\ | | | | | Add Response Handler to OpenaiChat | ||||
| * | Add Response Handler to OpenaiChat | Heiner Lohaus | 2023-11-19 | 11 | -448/+461 |
| | | | | | | | | | | | | Update Providers with WebDriver Add WebDriverSession helper Use native streaming in curl_cffi | ||||
* | | Merge pull request #1267 from hlohaus/any | Tekky | 2023-11-18 | 201 | -29100/+451 |
|\| | | | | | Add AiChatOnline, ChatgptDemoAi, ChatgptNext Providers | ||||
| * | Add AiChatOnline, ChatgptDemoAi, ChatgptNext Providers | Heiner Lohaus | 2023-11-18 | 201 | -29100/+451 |
| | | | | | | | | | | | | Add OnlineGpt and TalkAi Provider Add get_random_string and get_random_hex helper Remove funcaptcha package | ||||
* | | ~ | g4f `v-0.1.8.5` | abc | 2023-11-18 | 1 | -2/+1 |
| | | |||||
* | | Merge pull request #1264 from hlohaus/any | Tekky | 2023-11-18 | 6 | -96/+231 |
|\| | | | | | Improve providers | ||||
| * | Improve providers | Heiner Lohaus | 2023-11-17 | 6 | -96/+231 |
| | | |||||
* | | Merge pull request #1262 from hlohaus/any | Tekky | 2023-11-17 | 7 | -97/+32 |
|\| | | | | | Update Readme / Headless Mode | ||||
| * | Remove virtualdisplay and add headless mode | Heiner Lohaus | 2023-11-17 | 7 | -97/+32 |
| | | |||||
* | | Merge pull request #1261 from hlohaus/any | H Lohaus | 2023-11-17 | 5 | -86/+249 |
|\| | | | | | Add Poe Provider, Update AItianhuSpace Porvider | ||||
| * | Add Poe Provider, Update AItianhuSpace Porvider | Heiner Lohaus | 2023-11-17 | 5 | -86/+249 |
| | | |||||
* | | ~ | g4f `v-0.1.8.4`0.1.8.4 | abc | 2023-11-16 | 1 | -1/+1 |
| | | |||||
* | | ~ | abc | 2023-11-16 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #1260 from hlohaus/any | Tekky | 2023-11-16 | 11 | -474/+516 |
|\| | | | | | Update Phind and PerplexityAi - GPT-4 Providers | ||||
| * | Update Liaobots.py | H Lohaus | 2023-11-16 | 1 | -1/+1 |
| | | |||||
| * | Update MyShell.py | H Lohaus | 2023-11-16 | 1 | -5/+5 |
| | | |||||
| * | Update Bard.py | H Lohaus | 2023-11-16 | 1 | -12/+7 |
| | | |||||
| * | Update Phind.py | H Lohaus | 2023-11-16 | 1 | -4/+11 |
| | | |||||
| * | Update Phind.py | H Lohaus | 2023-11-16 | 1 | -5/+6 |
| | | |||||
| * | Update MyShell.py | H Lohaus | 2023-11-16 | 1 | -2/+7 |
| | | |||||
| * | Update MyShell.py | H Lohaus | 2023-11-16 | 1 | -10/+6 |
| | | |||||
| * | Update PerplexityAi.py | H Lohaus | 2023-11-16 | 1 | -10/+9 |
| | | |||||
| * | Update helper.py | H Lohaus | 2023-11-16 | 1 | -8/+8 |
| | | |||||
| * | Update Phind.py | H Lohaus | 2023-11-16 | 1 | -9/+4 |
| | | |||||
| * | Update helper.py | H Lohaus | 2023-11-16 | 1 | -0/+1 |
| | | |||||
| * | Update helper.py | H Lohaus | 2023-11-16 | 1 | -1/+6 |
| | | |||||
| * | Fix Bard Provider | Heiner Lohaus | 2023-11-16 | 3 | -81/+86 |
| | | |||||
| * | Fix Phind and PerplexityAi - GPT-4 Providers | Heiner Lohaus | 2023-11-16 | 9 | -402/+435 |
| | | | | | | | | | | | | | | Fix MyShell Provider Refactor Provider __init__ Add ChatAnywhere Provider Update models list | ||||
* | | Merge pull request #1257 from AndPim4912/ignored-tupo | H Lohaus | 2023-11-16 | 1 | -1/+1 |
|\ \ | | | | | | | Fixed tupo in list_ignored_providers parameter. | ||||
| * | | Fixed tupo in list_ignored_providers parameter. | razrab | 2023-11-16 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #1258 from AndPim4912/chatbase | H Lohaus | 2023-11-16 | 1 | -0/+5 |
|\ \ \ | | | | | | | | | Add back crutch of incorrect responses to ChatBase | ||||
| * | | | Add back crutch of incorrect responses to ChatBase | razrab | 2023-11-16 | 1 | -0/+5 |
| |/ / | |||||
* | | | Merge branch 'xtekky:main' into test | JunXiang | 2023-11-16 | 1 | -1/+1 |
|\| | | |||||
| * | | Merge pull request #1250 from kacperkwapisz/patch-1 | H Lohaus | 2023-11-16 | 1 | -1/+1 |
| |\ \ | | |/ | |/| | stream check workaround & fix | ||||
| | * | Update __init__.py | Kacper Kwapisz | 2023-11-14 | 1 | -1/+1 |
| | | | | | | | | | fixed the line where it checks if stream is requested. I made the change because before it ignored what the user typed because there was a invalid conversion from the boolean to string where the if stream clause would always be true. Simple workaround :) | ||||
* | | | fix: GPTalk can only use 5 times (#1255) | hs_junxiang | 2023-11-16 | 1 | -1/+4 |
|/ / | |||||
* | | Update OpenaiChat.py | H Lohaus | 2023-11-15 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #1247 from hlohaus/pi | H Lohaus | 2023-11-15 | 12 | -48/+48 |
|\ \ | | | | | | | Fix Chatgpt4Online Provider | ||||
| * | | Fix Chatgpt4Online Provider | Heiner Lohaus | 2023-11-13 | 12 | -48/+48 |
| | | | |||||
* | | | Check_pypi_version now returns value | Eikosa | 2023-11-13 | 1 | -0/+2 |
| |/ |/| | |||||
* | | Added back list_ignored_providers parameter to ChatCompletion.create method in api. | razrab | 2023-11-13 | 1 | -1/+5 |
| | | |||||
* | | Merge pull request #1243 from AndPim4912/main | Tekky | 2023-11-13 | 1 | -2/+11 |
|\ \ | |||||
| * | | Refactor item_data update to handle byte keys and convert messages to dict. | razrab | 2023-11-13 | 1 | -2/+11 |
| | | | |||||
* | | | Merge pull request #1241 from hlohaus/pi | Tekky | 2023-11-13 | 4 | -5/+160 |
|\ \ \ | |/ / |/| / | |/ | |||||
| * | Add Berlin and Koala Provider | Heiner Lohaus | 2023-11-12 | 4 | -5/+160 |
| | | |||||
* | | ~ | g4f `v-0.1.8.2`0.1.8.2 | abc | 2023-11-12 | 1 | -1/+1 |
|/ | |||||
* | Add auto_continue to OpenaiChat | Heiner Lohaus | 2023-11-12 | 3 | -46/+71 |
| | | | | Update readme provider tables | ||||
* | Add py_arkose_generator in OpenaiChat | Heiner Lohaus | 2023-11-11 | 1 | -48/+12 |
| | |||||
* | Remove height restriction | pakmmc | 2023-11-08 | 1 | -7/+1 |
| | | | Currently has blank black space at the bottom of the screen on 13" devices | ||||
* | ~ | g4f `v-0.1.8.1`0.1.8.1 | abc | 2023-11-07 | 1 | -1/+1 |
| | |||||
* | fix: api streaming TypeError: Object of type generator is not JSON serializable | Giancarlo-Ma | 2023-11-07 | 1 | -1/+2 |
| | |||||
* | fix: no module named 'flask' (#1216) | hs_junxiang | 2023-11-07 | 1 | -1/+1 |
| | |||||
* | ~ | g4f `v-0.1.8.0` | abc | 2023-11-05 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1213 from thatlukinhasguy1/main0.1.8.00.1.7.8 | Tekky | 2023-11-05 | 4 | -212/+142 |
|\ | | | | | Make the API use FastAPI instead of Flask | ||||
| * | Update __init__.py | ThatLukinhasGuy | 2023-11-04 | 1 | -1/+1 |
| | | |||||
| * | Update __init__.py | ThatLukinhasGuy | 2023-11-04 | 1 | -1/+1 |
| | | |||||
| * | Update __init__.py | ThatLukinhasGuy | 2023-11-04 | 1 | -1/+1 |
| | | |||||
| * | Update cli.py | ThatLukinhasGuy | 2023-11-04 | 1 | -1/+1 |
| | | |||||
| * | Update cli.py | ThatLukinhasGuy | 2023-11-04 | 1 | -2/+1 |
| | | |||||
| * | Update run.py | ThatLukinhasGuy | 2023-11-04 | 1 | -1/+1 |
| | | |||||
| * | Update __init__.py | ThatLukinhasGuy | 2023-11-04 | 1 | -1/+1 |
| | | |||||
| * | Update __init__.py | ThatLukinhasGuy | 2023-11-04 | 1 | -1/+1 |
| | | |||||
| * | Update __init__.py | ThatLukinhasGuy | 2023-11-04 | 1 | -1/+1 |
| | | |||||
| * | Update __init__.py | ThatLukinhasGuy | 2023-11-04 | 1 | -1/+1 |
| | | |||||
| * | Update cli.py | ThatLukinhasGuy | 2023-11-04 | 1 | -5/+1 |
| | | |||||
| * | Update run.py | ThatLukinhasGuy | 2023-11-04 | 1 | -1/+1 |
| | | |||||
| * | Update __init__.py | ThatLukinhasGuy | 2023-11-04 | 1 | -143/+138 |
| | | |||||
| * | Update run.py | ThatLukinhasGuy | 2023-11-04 | 1 | -1/+1 |
| | | |||||
| * | Update __init__.py | ThatLukinhasGuy | 2023-11-04 | 1 | -2/+2 |
| | | |||||
| * | Update __init__.py (#1) | ThatLukinhasGuy | 2023-11-04 | 1 | -2/+2 |
| | | |||||
| * | Update __init__.py | ThatLukinhasGuy | 2023-11-02 | 1 | -1/+1 |
| | | |||||
| * | Update __init__.py | ThatLukinhasGuy | 2023-11-02 | 1 | -1/+0 |
| | | |||||
| * | Update run.py | ThatLukinhasGuy | 2023-11-02 | 1 | -1/+1 |
| | | |||||
| * | Update __init__.py | ThatLukinhasGuy | 2023-11-02 | 1 | -200/+141 |
| | | |||||
* | | Merge pull request #1207 from hlohaus/win | H Lohaus | 2023-11-05 | 1 | -12/+26 |
|\ \ | | | | | | | Fix NotImplementedError on WIn | ||||
| * | | Add exec_js helper def | Heiner Lohaus | 2023-11-03 | 1 | -21/+25 |
| | | | |||||
| * | | Fix NotImplementedError on WIn | Heiner Lohaus | 2023-11-03 | 1 | -0/+10 |
| |/ | |||||
* / | Update Bing.py - Removed unnecessary "await" statements that could potentially lead to errors | Luneye | 2023-11-04 | 1 | -2/+2 |
|/ | |||||
* | ~ | g4f `v-0.1.7.9`0.1.7.9 | xtekky | 2023-10-31 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1181 from hlohaus/arkose | H Lohaus | 2023-10-29 | 1 | -3/+10 |
|\ | | | | | Use asyncio subprocess in OpenaiChat | ||||
| * | Use asyncio subprocess in OpenaiChat | Heiner Lohaus | 2023-10-28 | 1 | -3/+10 |
| | | |||||
* | | Update ChatBase.py - Added jailbreak (enabled by default), Removed list incorrect responses | Luneye | 2023-10-29 | 1 | -10/+14 |
| | | |||||
* | | Update backend.py, index.html, requirements.txt (#1180) | hdsz25 | 2023-10-28 | 2 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update backend.py change to the model that received from user interactive from the web interface model selection. * Update index.html added Llama2 as a provider selection and also include the model selection for Llama2: llama2-70b, llama2-13b, llama2-7b * Update requirements.txt add asgiref to enable async for Flask in api. "RuntimeError: Install Flask with the 'async' extra in order to use async views" | ||||
* | | Merge pull request #1175 from Biflez48/main | Tekky | 2023-10-28 | 3 | -50/+83 |
|\ \ | |/ |/| | Adding context preservation to the GUI. | ||||
| * | added context | unknown | 2023-10-27 | 3 | -50/+83 |
| | | |||||
* | | Add arkose_token to OpenaiChat | Heiner Lohaus | 2023-10-28 | 178 | -15/+29503 |
| | | |||||
* | | Update config supports_message_history | Heiner Lohaus | 2023-10-27 | 27 | -47/+56 |
|/ | |||||
* | ~ | g4f `v-0.1.7.8` | abc | 2023-10-27 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1166 from catmeowjiao/add-proxy | Tekky | 2023-10-27 | 2 | -11/+48 |
|\ | | | | | add proxy support | ||||
| * | add api proxy | catmeowjiao | 2023-10-27 | 1 | -3/+19 |
| | | |||||
| * | add proxy support | catmeowjiao | 2023-10-26 | 1 | -8/+29 |
| | | |||||
* | | Add llama2 model mapping | Heiner Lohaus | 2023-10-26 | 1 | -0/+5 |
| | | |||||
* | | Add Llama2 Providers / Models | Heiner Lohaus | 2023-10-26 | 4 | -9/+91 |
|/ | |||||
* | Merge pull request #1153 from AndPim4912/ChatBase-incorrect-responses | Tekky | 2023-10-25 | 1 | -2/+2 |
|\ | | | | | Extract keywords from incorrect responses | ||||
| * | Extract keywords from incorrect responses | razrab | 2023-10-25 | 1 | -3/+3 |
| | | | | | | | | The text of error responses is dynamically created by LLM. Need determine by keywords for more precise identification. | ||||
* | | Merge pull request #1149 from Luneye/patch-4 | Tekky | 2023-10-25 | 11 | -7/+18 |
|\ \ | |/ |/| | [suggestion] Adding new parameter to check if a provider 'natively' supports mesage history | ||||
| * | Indicated support of message history in GptForLove.py | Luneye | 2023-10-24 | 1 | -0/+1 |
| | | |||||
| * | Indicated support of message history in Bing.py | Luneye | 2023-10-24 | 1 | -0/+1 |
| | | |||||
| * | Indicated support of message history in ChatBase.py | Luneye | 2023-10-24 | 1 | -1/+2 |
| | | |||||
| * | Indicated support of message history in FreeGpt.py | Luneye | 2023-10-24 | 1 | -0/+1 |
| | | |||||
| * | Indicated support of message history in GPTalk.py | Luneye | 2023-10-24 | 1 | -1/+2 |
| | | |||||
| * | Indicated support of message history in Yqcloud.py | Luneye | 2023-10-24 | 1 | -0/+1 |
| | | |||||
| * | Indicated support of message history in You.py | Luneye | 2023-10-24 | 1 | -1/+2 |
| | | |||||
| * | Indicated support of message history in FakeGpt.py | Luneye | 2023-10-24 | 1 | -1/+2 |
| | | |||||
| * | Indicated support of message history in ChatForAi.py | Luneye | 2023-10-24 | 1 | -1/+2 |
| | | |||||
| * | Indicated support of message history in ChatgptX.py | Luneye | 2023-10-24 | 1 | -1/+2 |
| | | |||||
| * | [suggestion] Adding new parameter to check if provider supports message history | Luneye | 2023-10-24 | 1 | -1/+2 |
| | | | | | | What are your thoughts on introducing a parameter that allows us to promptly verify whether the provider supports message history? I also considered adding a parameter to indicate whether a provider can perform web searches. | ||||
* | | ~ | g4f `v-0.1.7.7`0.1.7.7 | abc | 2023-10-24 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #1146 from AndPim4912/GetGpt-debian-compat | Tekky | 2023-10-24 | 1 | -1/+4 |
|\ \ | | | | | | | Update GetGpt provider for Debian python3-pycryptodome compatibility | ||||
| * | | Update GetGpt provider for Debian python3-pycryptodome compatibility | razrab | 2023-10-24 | 1 | -1/+4 |
| |/ | | | | | | | Try to import AES from Cryptodome.Cipher if Crypto.Cipher caused error. | ||||
* | | Merge pull request #1145 from AndPim4912/chatbase-invalid-response | Tekky | 2023-10-24 | 1 | -0/+7 |
|\ \ | | | | | | | Add support for detecting incorrect responses in ChatBase API requests. | ||||
| * | | Add support for detecting incorrect responses in ChatBase API requests. | razrab | 2023-10-24 | 1 | -0/+7 |
| |/ | |||||
* / | Update MyShell.py | Heiner Lohaus | 2023-10-24 | 1 | -0/+1 |
|/ | |||||
* | Update FreeGpt.py | Shubh Gajjar | 2023-10-24 | 1 | -2/+2 |
| | | | Changed older domain url with the working new url | ||||
* | ~ | g4f `v-0.1.7.6`0.1.7.6 | abc | 2023-10-23 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1120 from AndPim4912/api-ignore-providers | Tekky | 2023-10-23 | 2 | -4/+20 |
|\ | | | | | Added code to ignore certain providers in the API | ||||
| * | Merge branch 'main' into api-ignore-providers | AndPim4912 | 2023-10-23 | 44 | -405/+399 |
| |\ | |||||
| * | | Refactor API initialization to accept a list of ignored providers. | razrab | 2023-10-23 | 2 | -5/+24 |
| | | | |||||
* | | | Bugfix Bing.py - Resolved Issues with system prompt, Bing personalities and enabled all supported user requests | Luneye | 2023-10-23 | 1 | -47/+45 |
| |/ |/| | | | | | | | I used this repository (https://github.com/waylaidwanderer/node-chatgpt-api/) as a reference to fix all the bugs related to Bing "personality." I included all the required fields in the allowedMessageTypes and optionsSets (as well as sliceIds) to allow it to respond to any requests it actually supports. Will also finish the code to fully implement the image generation functionality. | ||||
* | | Debug config in api | Heiner Lohaus | 2023-10-23 | 1 | -1/+1 |
| | | |||||
* | | 'Refactored by Sourcery' (#1125) | ⲘrṨhส∂ow | 2023-10-23 | 44 | -401/+398 |
|/ | | | Co-authored-by: Sourcery AI <> | ||||
* | ~ | g4f `v-0.1.7.5` | abc | 2023-10-23 | 1 | -2/+2 |
| | |||||
* | Merge pull request #1124 from hlohaus/fake | Tekky | 2023-10-22 | 6 | -47/+67 |
|\ | | | | | Improve helper | ||||
| * | Debug logging support | Heiner Lohaus | 2023-10-22 | 5 | -37/+46 |
| | | | | | | | | Async browse access token | ||||
| * | Improve get_cookies helper | Heiner Lohaus | 2023-10-22 | 2 | -14/+25 |
| | | |||||
* | | Merge pull request #1122 from Luneye/patch-2 | Tekky | 2023-10-22 | 1 | -42/+222 |
|\ \ | | | | | | | Major Update for Bing - Supports latest bundle version and image analysis | ||||
| * | | Major Update for Bing - Supports latest bundle version and image analysis | Luneye | 2023-10-22 | 1 | -42/+222 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here it is, a much-needed update to this service which offers numerous functionalities that the old code was unable to deliver to us. As you may know, ChatGPT Plus subscribers now have the opportunity to request image analysis directly from GPT within the chat bar. Bing has also integrated this feature into its chatbot. With this new code, you can now provide an image using a data URI, with all the following supported extensions: jpg, jpeg, png, and gif! **What is a data URI and how can I provide an image to Bing?** Just to clarify, a data URI is a method for encoding data directly into a URI (Uniform Resource Identifier). It is typically used for embedding small data objects like images, text, or other resources within web pages or documents. Data URIs are widely used in web applications. To provide an image from your desktop and retrieve it as a data URI, you can use this code: [GitHub link](https://gist.github.com/jsocol/1089733). Now, here is a code snippet you can use to provide images to Bing: ```python import g4f provider = g4f.Provider.Bing user_message = [{"role": "user", "content": "Hi, describe this image."}] response = g4f.ChatCompletion.create( model = g4f.models.gpt_4, provider = g4f.provider, # Corrected the provider value messages = user_message, stream = True, image = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4RiSRXhpZgAASUkqAAg..." # Insert your full data URI image here ) for message in response: print(message, flush=True, end='') ``` If you don't want to analyze the image, just do not specify the image parameter. Regarding the implementation, the image is preprocessed within the Bing.py code, which can be resource-intensive for a server-side implementation. When using the Bing chatbot in your web browser, the image is preprocessed on your computer before being sent to the server. This preprocessing includes tasks like image rotation and compression. Although this implementation works, it would be more efficient to delegate image preprocessing to the client as it happens in reality. I will try to provide a JavaScript code for that at a later time. As you saw, I did mention in the title that it is in Beta. The way the code is written, Bing can sometimes mess up its answers. Indeed, Bing does not really stream its responses as the other providers do. Bing sends its answers like this on each iteration: "Hi," "Hi, this," "Hi, this is," "Hi, this is Bing." Instead of sending each segment one at a time, it already adds them on each iteration. So, to simulate a normal streaming response, other contributors made the code wait for the next iteration to retrieve the newer segments and yield them. However, this method ignores something that Bing does. Bing processes its responses in a markdown detector, which searches for links while the AI answers. If it finds a link, it saves it and waits until the AI finishes its answer to put all the found links at the very end of the answer. So if the AI is writing a link, but then on the next iteration, it finishes writing this link, it will then be deleted from the answer and appear later at the very end. Example: "Here is your link reference [" "Here is your link reference [^" "Here is your link reference [^1" "Here is your link reference [^1^" And then the response would get stuck there because the markdown detector would have deleted this link reference in the next response and waited until the AI is finished to put it at the very end. For this reason, I am working on an update to anticipate the markdown detector. So please, if you guys notice any bugs with this new implementation, I would greatly appreciate it if you could report them on the issue tab of this repo. Thanks in advance, and I hope that all these explanations were clear to you! | ||||
* | | | ~ | g4f `v-0.1.7.4` | abc | 2023-10-22 | 1 | -1/+1 |
| |/ |/| | |||||
* | | Fix ChatgptAi Provider | Heiner Lohaus | 2023-10-22 | 2 | -39/+47 |
| | | |||||
* | | Add rate limit error messages | Heiner Lohaus | 2023-10-22 | 2 | -1/+6 |
| | | |||||
* | | Fix increase timeout | Heiner Lohaus | 2023-10-22 | 6 | -54/+94 |
| | | | | | | | | | | Add Hashnode Provider Fix Yqcloud Provider | ||||
* | | Enable Liaobots and ChatForAi again | Heiner Lohaus | 2023-10-22 | 2 | -3/+3 |
| | | |||||
* | | Fix MyShell Provider | Heiner Lohaus | 2023-10-22 | 10 | -30/+115 |
| | | |||||
* | | Add FakeGpt Provider | Heiner Lohaus | 2023-10-22 | 3 | -15/+108 |
|/ | | | | Update providers in models | ||||
* | fix bug - Cannot assign requested address | late | 2023-10-21 | 2 | -2/+2 |
| | |||||
* | ~ | g4f `v-0.1.7.2`0.1.7.2 | abc | 2023-10-21 | 1 | -1/+1 |
| | | | | fix tiktok not found error | ||||
* | ~ | g4f `v-0.1.7.2` | abc | 2023-10-21 | 18 | -129/+184 |
| | | | | patch / unpatch providers | ||||
* | ~ | g4f v-0.1.7.0 | abc | 2023-10-20 | 1 | -1/+1 |
| | | | | quick fix | ||||
* | ~ | 0.1.7.0 | abc | 2023-10-20 | 2 | -3/+4 |
| | |||||
* | ~ | g4f v-0.1.6.9 | abc | 2023-10-20 | 1 | -1/+1 |
| | |||||
* | ~ | abc | 2023-10-20 | 4 | -4/+9 |
| | | | | minor changes | ||||
* | ~ | quick fix | abc | 2023-10-20 | 1 | -1/+1 |
| | |||||
* | ~ | updated g4f.api | abc | 2023-10-20 | 5 | -154/+240 |
| | | | | new api and requirements | ||||
* | ~ | abc | 2023-10-19 | 5 | -44/+101 |
| | | | | fix gui errors on iOS | ||||
* | ~ | g4f `v-0.1.6.8`0.1.6.8 | abc | 2023-10-19 | 4 | -10/+15 |
| | | | | some quick fixes | ||||
* | ~ | g4f v-0.1.6.70.1.6.7 | abc | 2023-10-19 | 1 | -1/+1 |
| | |||||
* | ~ | abc | 2023-10-19 | 6 | -151/+163 |
| | | | | automatic models fetching in GUI. | ||||
* | ~ | abc | 2023-10-19 | 1 | -0/+7 |
| | |||||
* | Fix: debug.logging not work in retry provider | hs_junxiang | 2023-10-19 | 2 | -6/+6 |
| | |||||
* | Add timeout | ostix360 | 2023-10-17 | 1 | -1/+6 |
| | |||||
* | ~ | g4f `v-0.1.6.6`0.1.6.6 | abc | 2023-10-16 | 1 | -1/+1 |
| | |||||
* | ~ | update working providers list & gpt-4 providers | abc | 2023-10-16 | 1 | -5/+8 |
| | |||||
* | ~ | add `g4f.Provider.GeekGpt` | abc | 2023-10-16 | 2 | -1/+85 |
| | |||||
* | ~ | g4f `v-0.1.6.5` | abc | 2023-10-16 | 1 | -1/+1 |
| | |||||
* | ~ | remove non-working providers | abc | 2023-10-16 | 11 | -32/+107 |
| | |||||
* | Add Llama2 and NoowAi Provider | Heiner Lohaus | 2023-10-15 | 7 | -8/+156 |
| | |||||
* | ~ | g4f `v-0.1.6.4` | abc | 2023-10-14 | 1 | -1/+1 |
| | |||||
* | ~ | Merge pull request #1068 from hlohaus/fre | Tekky | 2023-10-14 | 11 | -106/+121 |
|\ | | | | | Fix Opchatgpts and ChatForAi Provider | ||||
| * | Fix Opchatgpts and ChatForAi Provider | Heiner Lohaus | 2023-10-14 | 11 | -106/+121 |
| | | | | | | | | Deprecate Vitalentum and Aivvm Provider | ||||
* | | ~ | abc | 2023-10-14 | 3 | -15/+11 |
|/ | | | | fix chatbase (bad) and remove from auto selection | ||||
* | g4f `v-0.1.6.3` | abc | 2023-10-13 | 1 | -1/+1 |
| | |||||
* | ~ | Merge pull request #1065 from adeyinkaezra123/typo-fixes0.1.6.3 | Tekky | 2023-10-13 | 1 | -1/+1 |
|\ | | | | | fix: minor typo fixes across multiple files | ||||
| * | fix: remove typo in readme and configs | Ezra Adeyinka | 2023-10-13 | 1 | -1/+1 |
| | | |||||
* | | ~ | Merge pull request #1060 from hlohaus/don | Tekky | 2023-10-13 | 11 | -85/+397 |
|\ \ | | | | | | | Add ChatgptLogin, ChatgptFree and GptChatly Provider | ||||
| * | | Deprecate ChatForAi | Heiner Lohaus | 2023-10-12 | 3 | -5/+6 |
| | | | |||||
| * | | Add ChatgptLogin, ChatgptFree and GptChatly Provider | Heiner Lohaus | 2023-10-12 | 10 | -80/+391 |
| |/ | |||||
* / | feat: ignore providers(#1014) | hs_junxiang | 2023-10-13 | 1 | -8/+19 |
|/ | |||||
* | ~ | g4f `v-0.1.6.2`0.6.1.2 | abc | 2023-10-12 | 1 | -12/+8 |
| | |||||
* | ~ | abc | 2023-10-12 | 1 | -1/+1 |
| | |||||
* | ~ | abc | 2023-10-12 | 1 | -63/+63 |
| | |||||
* | ~ | Merge pull request #1051 from ahobsonsayers/unify-g4f-cli | Tekky | 2023-10-12 | 7 | -111/+213 |
|\ | | | | | Unify g4f tools (gui and api) into one CLI | ||||
| * | Unify g4f tools into one CLI | Arran Hobson Sayers | 2023-10-12 | 7 | -111/+213 |
| | | |||||
* | | Fix: GptGo json.decoder.JSONDecodeError | hs_junxiang | 2023-10-12 | 1 | -0/+2 |
|/ | |||||
* | ~ | g4f v-0.1.6.1 | abc | 2023-10-11 | 4 | -11/+10 |
| | | | | some bug fixes | ||||
* | ~ | Merge pull request #1044 from Lin-jun-xiang/main | Tekky | 2023-10-11 | 2 | -0/+5 |
|\ | | | | | Fix: TypeError: unsupported operand type(s) for |:... | ||||
| * | Fix: TypeError: unsupported operand type(s) for |:... | hs_junxiang | 2023-10-11 | 2 | -0/+5 |
| | | |||||
* | | fix typo in backend.py | Ikko Eltociear Ashimine | 2023-10-11 | 1 | -1/+1 |
|/ | | | occured -> occurred | ||||
* | ~ | g4f `v-0.1.5.9`(remove deepai.org) | abc | 2023-10-10 | 1 | -1/+1 |
| | |||||
* | ~ | remove DeepAi | abc | 2023-10-10 | 4 | -87/+2 |
| | |||||
* | ~ | g4f `v-0.1.5.8`0.1.5.8 | abc | 2023-10-10 | 4 | -14/+6 |
| | |||||
* | ~ | Merge pull request #1029 from hlohaus/die | Tekky | 2023-10-10 | 9 | -35/+32 |
|\ | | | | | Some small fixes | ||||
| * | Some small fixes | Heiner Lohaus | 2023-10-10 | 9 | -35/+32 |
| | | |||||
* | | fix html | Commenter123321 | 2023-10-10 | 1 | -1/+1 |
| | | |||||
* | | what | Commenter123321 | 2023-10-10 | 1 | -3/+3 |
| | | |||||
* | | change discord icon to telegram icon on gui | Commenter123321 | 2023-10-10 | 2 | -2/+2 |
| | | |||||
* | | make user agent easily changeable in deepai | Commenter123321 | 2023-10-10 | 1 | -2/+3 |
| | | |||||
* | | fix deepai :) | Commenter123321 | 2023-10-10 | 1 | -18/+17 |
| | | |||||
* | | fix provider thing in gui x2 | Commenter123321 | 2023-10-10 | 4 | -17/+23 |
| | | |||||
* | | fix provider thing in gui | Commenter123321 | 2023-10-10 | 1 | -1/+1 |
| | | |||||
* | | remove unused import in Bing.py | Commenter123321 | 2023-10-10 | 1 | -1/+0 |
| | | |||||
* | | make internet searching better | Commenter123321 | 2023-10-10 | 2 | -11/+41 |
| | | |||||
* | | Aivvm is the best provider no cap | Commenter123321 | 2023-10-10 | 1 | -3/+6 |
| | | |||||
* | | Merge remote-tracking branch 'origin/main' | Commenter123321 | 2023-10-10 | 42 | -319/+490 |
|\ \ | | | | | | | | | | | | | | | | # Conflicts: # g4f/Provider/Aivvm.py # g4f/models.py | ||||
| * | | Update Aivvm.py | Commenter123321 | 2023-10-10 | 1 | -3/+3 |
| |/ | |||||
| * | ~ | g4f `v-0.1.5.7` [Set Provider in GUI] + Provider Proxy | abc | 2023-10-10 | 4 | -144/+165 |
| | | |||||
| * | ~ | abc | 2023-10-10 | 1 | -1/+15 |
| | | | | | | | | Command line arguments for GUI | ||||
| * | ~ | abc | 2023-10-10 | 2 | -7/+29 |
| | | | | | | | | New system for str to Provider | ||||
| * | ~ | abc | 2023-10-10 | 1 | -6/+7 |
| | | | | | | | | remove chatforai | ||||
| * | ~ | abc | 2023-10-10 | 1 | -0/+62 |
| | | | | | | | | Conversion from str Provider to g4f.Provider | ||||
| * | Add Proxy Support and Create Provider to Readme | Heiner Lohaus | 2023-10-09 | 7 | -41/+57 |
| | | | | | | | | Add proxy support to many providers | ||||
| * | Add proxy support to all providers | Heiner Lohaus | 2023-10-09 | 29 | -113/+162 |
| | | |||||
* | | add cool testing for gpt-3.5 and and gpt-4 | Commenter123321 | 2023-10-09 | 3 | -26/+41 |
| | | |||||
* | | Merge remote-tracking branch 'origin/main' | Commenter123321 | 2023-10-09 | 88 | -644/+10201 |
|\| | | | | | | | | | # Conflicts: # g4f/Provider/Aivvm.py | ||||
| * | ~ | g4f `v-0.1.5.6` | abc | 2023-10-08 | 4 | -14/+24 |
| | | | | | | | | | | | | | | | | | | | | gui & interference can now be run with: python -m g4f.gui.run and python -m g4f.interference.run | ||||
| * | Add Messages and AsyncResult typing | Heiner Lohaus | 2023-10-08 | 6 | -32/+45 |
| | | | | | | | | Add system_message in Yqcloud | ||||
| * | Add Cromicle to provider list | Heiner Lohaus | 2023-10-08 | 6 | -28/+66 |
| | | |||||
| * | ~ | `v-0.1.5.5` | abc | 2023-10-07 | 4 | -6/+10 |
| | | | | | | | | Aiivm working again | ||||
| * | ~ | g4f `v-0.1.5.5`0.1.5.5 | abc | 2023-10-07 | 1 | -1/+1 |
| | | |||||
| * | Remove Aivvm from working providers | Heiner Lohaus | 2023-10-07 | 4 | -21/+15 |
| | | |||||
| * | Improve code with ai | Heiner Lohaus | 2023-10-07 | 2 | -22/+32 |
| | | |||||
| * | Improve code by AI | Heiner Lohaus | 2023-10-07 | 4 | -102/+103 |
| | | |||||
| * | Add GptGod Provider | Heiner Lohaus | 2023-10-07 | 14 | -29/+73 |
| | | | | | | | | | | Remove timeout from aiohttp providers Disable Opchatgpts and ChatgptLogin provider | ||||
| * | Add GPTalk and GptForLove Provider | Heiner Lohaus | 2023-10-07 | 5 | -0/+6618 |
| | | |||||
| * | ~ | g4f `v-0.1.5.4` [new gui & interference]0.1.5.4 | abc | 2023-10-06 | 1 | -1/+1 |
| | | | | | | | | + version fix | ||||
| * | ~ | g4f `v-0.1.5.3` [new gui & interference]0.1.5.3 | abc | 2023-10-06 | 1 | -1/+1 |
| | | |||||
| * | ~ | new instructions for gui & interference + telegram channel | abc | 2023-10-06 | 1 | -1/+1 |
| | | |||||
| * | ~ | g4f `v-0.1.5.1` [*new gui & interference*] | abc | 2023-10-06 | 1 | -1/+0 |
| | | |||||
| * | ~ | g4f `v-0.1.5.1` [*new gui & interference**] | abc | 2023-10-06 | 1 | -1/+1 |
| | | |||||
| * | ~ | gpt-3.5-turbo-0613 | abc | 2023-10-06 | 1 | -0/+1 |
| | | |||||
| * | ~ | new interference | abc | 2023-10-06 | 1 | -0/+94 |
| | | |||||
| * | ~ | new g4f GUI | abc | 2023-10-06 | 20 | -0/+1880 |
| | | |||||
| * | Fix timeout in create_async | Heiner Lohaus | 2023-10-06 | 9 | -30/+17 |
| | | |||||
| * | ~ | g4f v-0.1.5.0 | abc | 2023-10-06 | 1 | -1/+1 |
| | | |||||
| * | ~ | abc | 2023-10-06 | 1 | -2/+4 |
| | | |||||
| * | ~ | fix gpt-3.5-turbo models | abc | 2023-10-06 | 1 | -5/+4 |
| | | |||||
| * | ~ | Merge pull request #991 from ostix360/main | Tekky | 2023-10-06 | 1 | -1/+3 |
| |\ | | | | | | | fix import in models | ||||
| | * | import fixed | ostix360 | 2023-10-05 | 1 | -1/+3 |
| | | | |||||
| * | | Fix: TypeError: 'type' object is not subscriptable | hs_junxiang | 2023-10-06 | 2 | -0/+8 |
| |/ | |||||
| * | ~ | g4f v-0.1.4.9 [major updates and patches]0.1.4.9 | abc | 2023-10-05 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'main' into bom | Tekky | 2023-10-05 | 2 | -1/+52 |
| |\ | |||||
| | * | Merge pull request #1 from HexyeDEV/patch-3 | Hexye | 2023-10-04 | 1 | -1/+2 |
| | |\ | | | | | | | | | Update models.py | ||||
| | | * | Update models.py | Hexye | 2023-10-04 | 1 | -1/+2 |
| | | | | |||||
| | * | | Update Cromicle.py | Hexye | 2023-10-04 | 1 | -2/+2 |
| | | | | |||||
| | * | | Create Cromicle.py | Hexye | 2023-10-04 | 1 | -0/+50 |
| | |/ | |||||
| * / | Add AiAsk, Chatgpt4Online, ChatgptDemo | Heiner Lohaus | 2023-10-05 | 33 | -177/+603 |
| |/ | | | | | | | | | | | and ChatgptX Provider Fix Bing, Liaobots and ChatgptAi Provider Add "gpt_35_long" model and custom timeout | ||||
| * | ~ | g4f v-0.1.4.8 - Fixed `g4f.Provider.Bing` | abc | 2023-10-04 | 2 | -9/+35 |
| | | | | | | | | implemented new "X-Sydney-EncryptedConversationSignature" found in headers from "turing/conversation/create" | ||||
| * | ~ | g4f v-0.1.4.7 `pip install -U g4f`0.1.4.7 | abc | 2023-10-04 | 1 | -1/+1 |
| | | |||||
| * | ~ | Merge pull request #982 from hlohaus/fetch | Tekky | 2023-10-04 | 28 | -100/+103 |
| |\ | | | | | | | Fix fetch_access_token in openai | ||||
| | * | Sort providers in new dirs | Heiner Lohaus | 2023-10-04 | 27 | -64/+71 |
| | | | |||||
| | * | Use custom user dir | Heiner Lohaus | 2023-10-04 | 2 | -26/+16 |
| | | | |||||
| | * | Fix fetch_access_token in openai | Heiner Lohaus | 2023-10-03 | 1 | -10/+16 |
| | | | |||||
| * | | ~ | g4f v-0.1.4.6 `pip install -U g4f`0.1.4.6 | abc | 2023-10-03 | 1 | -1/+1 |
| | | | |||||
| * | | ~ | g4f v-0.1.4.5 `pip install -U g4f` | abc | 2023-10-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | updated providers: - g4f.Provider.Bing - g4f.Provider.OpenaiChat | ||||
| * | | Merge pull request #975 from hlohaus/mmm | Tekky | 2023-10-03 | 3 | -57/+120 |
| |\| | | | | | | | Bing Updates: | ||||
| | * | Add streaming in openai chat | Heiner Lohaus | 2023-10-03 | 2 | -24/+75 |
| | | | | | | | | | | | | Fetch access token with chromedriver | ||||
| | * | Bing Updates: | Heiner Lohaus | 2023-10-02 | 1 | -33/+45 |
| | | | | | | | | | | | | | | | | | | Add retry create conversation Removed get_cookies fallback Add creative tone parameter | ||||
| * | | ~ | g4f v-0.1.4.5 `pip install -U g4f`0.1.4.5 | abc | 2023-10-02 | 1 | -1/+1 |
| | | | |||||
| * | | Merge pull request #971 from Giancarlo-Ma/main | Tekky | 2023-10-02 | 1 | -0/+1 |
| |\ \ | | |/ | |/| | feat: allow to add custom header to deepai | ||||
| | * | feat: add custom header to deepai | Giancarlo-Ma | 2023-10-02 | 1 | -0/+1 |
| | | | |||||
| * | | Add Phind Provider | Heiner Lohaus | 2023-10-02 | 4 | -13/+108 |
| |/ | | | | | | | | | Add release_curl in url_cffi requets Support create image response in Bing | ||||
| * | ~ | g4f v-0.1.4.4 | abc | 2023-10-02 | 2 | -2/+3 |
| | | | | | | | | release_curl bug | ||||
| * | ~ | quick fix | abc | 2023-10-02 | 1 | -1/+2 |
| | | |||||
| * | ~ | g4f v-`0.1.4.3`0.1.4.3 | abc | 2023-10-02 | 1 | -1/+1 |
| | | |||||
| * | ~ | Merge pull request #968 from st4rted/patch-1 | Tekky | 2023-10-02 | 1 | -2/+2 |
| |\ | | | | | | | fix typo in payload | ||||
| | * | fix typo in payload | st4rted | 2023-10-02 | 1 | -2/+2 |
| | | | |||||
| * | | Fix: There is no current event loop in thread | Heiner Lohaus | 2023-10-02 | 4 | -15/+34 |
| | | | |||||
| * | | Remove fake_useragent module | Heiner Lohaus | 2023-10-02 | 1 | -4/+0 |
| | | | |||||
| * | | +Curl +Async +Stream Requests | Heiner Lohaus | 2023-10-02 | 9 | -76/+119 |
| | | | | | | | | | | | | Update Model List | ||||
| * | | Change event loop policy on windows | Heiner Lohaus | 2023-10-01 | 2 | -12/+30 |
| | | | | | | | | | | | | Support more versions from curl_cffi | ||||
| * | | Disable Wewordle Provider | Heiner Lohaus | 2023-10-01 | 3 | -12/+10 |
| | | | | | | | | | | | | | | | Update Ylokh Provider Improve StreamRequest | ||||
| * | | Disable PerplexityAi Provider | Heiner Lohaus | 2023-10-01 | 2 | -2/+2 |
| | | | |||||
| * | | Update HuggingChat to new api | Heiner Lohaus | 2023-10-01 | 9 | -100/+206 |
| |/ | | | | | | | | | | | | | | | Impersonate Aivvm Provider Add ChatForAi and FreeGpt Provider Update AItianhuSpace Provider Improve StreamRequest Support Update get_event_loop Helper | ||||
* / | aivvm's no life creator keeps patching it, but I'm just better 😉 | Commenter123321 | 2023-10-01 | 1 | -3/+4 |
|/ | |||||
* | ~ | v-0.1.4.2 `pip install -U g4f`0.1.4.2 | abc | 2023-10-01 | 1 | -1/+1 |
| | |||||
* | Merge branch 'main' of https://github.com/xtekky/gpt4free | abc | 2023-10-01 | 2 | -33/+46 |
|\ | |||||
| * | ~ | Tekky | 2023-10-01 | 1 | -162/+162 |
| | | |||||
| * | some more things | Commenter123321 | 2023-09-29 | 1 | -148/+152 |
| | | |||||
| * | Fix Aivvm and add new models in models.py | Commenter123321 | 2023-09-29 | 2 | -19/+28 |
| | | |||||
* | | ~ | pypi v-0.1.4.0 `pip install -U g4f` | abc | 2023-10-01 | 1 | -1/+1 |
|/ | |||||
* | ~ | g4f v-0.1.4.0 (new version checking system | abc | 2023-09-27 | 1 | -1/+15 |
| | |||||
* | ~ | g4f v-0.1.3.9 | abc | 2023-09-27 | 2 | -3/+3 |
| | |||||
* | ~ | g4f v-0.1.3.8 | abc | 2023-09-27 | 1 | -1/+1 |
| | |||||
* | fixed bug: ImportError: cannot import name 'Request' from 'curl_cffi.requests.cookies' (/Users/yanyuming/opt/anaconda3/envs/chatgpt/lib/python3.11/site-packages/curl_cffi/requests/cookies.py) | yym68686 | 2023-09-26 | 1 | -1/+1 |
| | |||||
* | ~ | v-0.1.3.7 | abc | 2023-09-26 | 1 | -1/+1 |
| | |||||
* | ~ | add version (`g4f.version`) | abc | 2023-09-26 | 1 | -1/+1 |
| | |||||
* | Add ChatgptDuo and Aibn Provider | Heiner Lohaus | 2023-09-26 | 10 | -94/+226 |
| | | | | | | Add support for "nest_asyncio", Reuse event_loops with event_loop_policy Support for "create_async" with synchron provider | ||||
* | AItianhuSpace Provider with GPT 4 added | Heiner Lohaus | 2023-09-26 | 3 | -18/+50 |
| | | | | Reduced chunksize to better text completion | ||||
* | "create_async" support for BaseProvider, | Heiner Lohaus | 2023-09-26 | 4 | -2/+156 |
| | | | | | by using ThreadPoolExecutor Default Model for Vercel | ||||
* | Add Myshell Provider | Heiner Lohaus | 2023-09-25 | 6 | -22/+189 |
| | | | | Remove auto proxy prefix | ||||
* | TypeError: issubclass() arg 1 must be a class | Heiner Lohaus | 2023-09-23 | 1 | -1/+2 |
| | |||||
* | Fix: Aivvm: KeyError: '' | Heiner Lohaus | 2023-09-23 | 2 | -4/+10 |
| | | | | and TypeError: issubclass() arg 1 must be a class | ||||
* | ~ | improve Vercel & g4f.Completion.create | abc | 2023-09-23 | 1 | -1/+1 |
| | |||||
* | ~ | improve Vercel & g4f.Completion.create | abc | 2023-09-23 | 2 | -2/+33 |
| | | | | | | | | | | | added `.Completion.create` class. ```py response = g4f.Completion.create( model='text-davinci-003', prompt="Hello") print(response) ``` | ||||
* | ~ | abc | 2023-09-23 | 1 | -0/+369 |
| | |||||
* | Delete g4f/Provider/Vercel.py | Tekky | 2023-09-23 | 1 | -387/+0 |
| | |||||
* | Improve Vercel Provider: | Heiner Lohaus | 2023-09-23 | 4 | -46/+63 |
| | | | | | | | - Fix endless loop - Add proxy, async support - Add default model Fix HuggingChat Provider | ||||
* | ~ | Update Vercel Provider | abc | 2023-09-23 | 1 | -227/+307 |
| | |||||
* | ~ | gpt-3.5-turbo-16k-0613 | abc | 2023-09-23 | 1 | -17/+17 |
| | |||||
* | ~ | new providers | abc | 2023-09-23 | 3 | -70/+65 |
| | | | | | | Somwhat fix Aivvm provider, which looks to have a working gpt-4 kinda unstable | ||||
* | ~ | Fix DeepAi | abc | 2023-09-23 | 1 | -1/+1 |
| | |||||
* | ~ | Merge pull request #924 from hlohaus/vercel | Tekky | 2023-09-22 | 13 | -73/+325 |
|\ | | | | | Fix async example in readme | ||||
| * | Add RetryProvider | Heiner Lohaus | 2023-09-21 | 4 | -16/+110 |
| | | |||||
| * | Fix create_event_loop function | Heiner Lohaus | 2023-09-20 | 3 | -10/+100 |
| | | | | | | | | Add PerplexityAi Provider | ||||
| * | Improve code style in async support | Heiner Lohaus | 2023-09-20 | 1 | -10/+22 |
| | | |||||
| * | Add "create_event_loop" helper | Heiner Lohaus | 2023-09-20 | 1 | -9/+13 |
| | | |||||
| * | Add check_running_loop requirement | Heiner Lohaus | 2023-09-20 | 2 | -34/+69 |
| | | | | | | | | | | Add create_async function in ChatCompletion Use SelectorEventLoop on windows | ||||
| * | Cache "snlm0e" in Bard | Heiner Lohaus | 2023-09-20 | 8 | -26/+43 |
| | | | | | | | | | | Improve error handling in ChatgptLogin Fix async example in readme | ||||
* | | ~ | gpt-3.5-turbo-0613 | abc | 2023-09-22 | 1 | -144/+140 |
| | | |||||
* | | add model config : gpt_35_turbo_0613 | tony | 2023-09-20 | 1 | -1/+1 |
| | | |||||
* | | dd model config : gpt_35_turbo_0613 | tony | 2023-09-20 | 1 | -35/+35 |
| | | |||||
* | | add model config : gpt_35_turbo_0613 | tony | 2023-09-20 | 1 | -3/+2 |
| | | |||||
* | | add model config : gpt_35_turbo_0613 | tony | 2023-09-20 | 1 | -138/+141 |
| | | |||||
* | | add model config : gpt_35_turbo_0613 | tony | 2023-09-20 | 1 | -1/+1 |
| | | |||||
* | | add model config : gpt_35_turbo_0613 | tony | 2023-09-20 | 1 | -1/+4 |
| | | |||||
* | | add model config : gpt_35_turbo_0613 | tony | 2023-09-20 | 1 | -0/+5 |
|/ | |||||
* | ~ | Merge pull request #914 from hlohaus/lesh | Tekky | 2023-09-19 | 7 | -88/+149 |
|\ | | | | | ~ | Add GptGo Provider, Fix AItianhu Provider | ||||
| * | Check supports_stream in best_providers list | Heiner Lohaus | 2023-09-18 | 2 | -5/+7 |
| | | |||||
| * | Improve event loop | Heiner Lohaus | 2023-09-18 | 2 | -42/+44 |
| | | |||||
| * | Add GptGo Provider, Fix AItianhu Provider | Heiner Lohaus | 2023-09-18 | 3 | -41/+98 |
| | | |||||
| * | ~ | Tekky | 2023-09-17 | 1 | -353/+0 |
| | | |||||
* | | ~ | abc | 2023-09-19 | 1 | -64/+2 |
|/ | |||||
* | ~ | improved stability with gpt-3.5-turbo | abc | 2023-09-17 | 1 | -14/+21 |
| | | | | improved stability with gpt-3.5-turbo | ||||
* | ~ | abc | 2023-09-17 | 1 | -2/+1 |
| | |||||
* | Merge branch 'main' of https://github.com/xtekky/gpt4free | abc | 2023-09-17 | 28 | -29/+241 |
|\ | |||||
| * | Revert "Fix type hint" | Tekky | 2023-09-17 | 28 | -30/+241 |
| | | |||||
* | | Update __init__.py | abc | 2023-09-17 | 1 | -2/+1 |
|/ | |||||
* | . | Tekky | 2023-09-17 | 1 | -218/+0 |
| | |||||
* | fix typo: provider -> Provider | MIDORIBIN | 2023-09-16 | 25 | -25/+25 |
| | |||||
* | fix type hint | MIDORIBIN | 2023-09-16 | 3 | -130/+137 |
| | |||||
* | Disable not working providers: | Heiner Lohaus | 2023-09-12 | 7 | -24/+33 |
| | | | | | | EasyChat, Equing, GetGpt, Liaobots and Wuguokai No and random best provider for a model Update providers in Readme | ||||
* | Add new providers: Aivvm, Vitalentum and Ylokh | Heiner Lohaus | 2023-09-12 | 7 | -25/+251 |
| | |||||
* | ~ | Merge pull request #891 from Lin-jun-xiang/fix-TypeDict-error | Tekky | 2023-09-11 | 1 | -2/+8 |
|\ | | | | | Fix: `TypedDict` from `typing` error #886 | ||||
| * | Fix: `TypedDict` from `typing` error #886 | hs_junxiang | 2023-09-11 | 1 | -2/+8 |
| | | | | | | | | Ref: https://github.com/python/typeshed/issues/3500 | ||||
* | | Add ChatBase Provider | Heiner Lohaus | 2023-09-10 | 2 | -0/+64 |
| | | |||||
* | | Add CodeLinkAva Provider, Improve test_async.py | Heiner Lohaus | 2023-09-09 | 4 | -2/+67 |
|/ | |||||
* | Fix imports in Bing | Heiner Lohaus | 2023-09-05 | 1 | -16/+7 |
| | |||||
* | Add to many provider async and stream support, Fix Ails, AItianhu, ChatgptAi, ChatgptLogin Provider, Add fallback cookies to Bing, Improve OpenaiChat Provider | Heiner Lohaus | 2023-09-05 | 17 | -528/+443 |
| | |||||
* | ~ | Merge pull request #876 from Lin-jun-xiang/join_messages | Tekky | 2023-09-05 | 7 | -29/+14 |
|\ | | | | | ~ | Following PEP8, use `.join()` to process `messages` | ||||
| * | Join the messages | hs_junxiang | 2023-09-04 | 7 | -29/+14 |
| | | | | | | | | | | A better approach is to use the `.join()` method of strings, which reduces string concatenation operations and improves performance. Additionally, using formatted strings (f-strings) makes the code cleaner and more readable. | ||||
* | | type hints | msi-JunXiang | 2023-09-03 | 35 | -45/+176 |
|/ | | | | | | | | | | Use `from __future__ import annotations avoid `dict` and `list` cause "TypeErro: 'type' object is not subscriptable". Refer to the following Stack Overflow discussions for more information: 1. https://stackoverflow.com/questions/75202610/typeerror-type-object-is-not-subscriptable-python 2. https://stackoverflow.com/questions/59101121/type-hint-for-a-dict-gives-typeerror-type-object-is-not-subscriptable | ||||
* | Set working=True in Liaobots, Fix bing provider, Update readme | Heiner Lohaus | 2023-09-01 | 4 | -24/+6 |
| | |||||
* | ~ | v-0.0.2.6 | abc | 2023-08-28 | 1 | -25/+25 |
| | |||||
* | Merge branch 'main' into hugging | Tekky | 2023-08-28 | 1 | -28/+64 |
|\ | |||||
| * | Merge branch 'main' into patch-1 | Luneye | 2023-08-28 | 33 | -969/+846 |
| |\ | |||||
| * | | Update Bing.py | Luneye | 2023-08-28 | 1 | -7/+7 |
| | | | | | | | | | Fixed some errors in my previously precipitated commit. | ||||
| * | | Update Bing.py | Luneye | 2023-08-28 | 1 | -53/+45 |
| | | | | | | | | | | | | | | | Added support the async function Will implement proper cookie retrieval later but Bing is working for now | ||||
| * | | Update Bing.py | Luneye | 2023-08-27 | 1 | -46/+76 |
| | | | | | | | | | Removed unnecessary check that could prematurely stop the AI's response while answering | ||||
* | | | Add async support for H2o | Heiner Lohaus | 2023-08-28 | 13 | -311/+468 |
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | Add format_prompt helper Fix create_completion in AsyncGeneratorProvider Move get_cookies from constructor to function Add ow HuggingChat implement Remove need auth form Liabots Add staic cache for access_token in OpenaiChat Add OpenAssistant provider Support stream and async in You Support async and add userId in Yqcloud Add log_time module | ||||
* | | ~ | code styling | abc | 2023-08-27 | 33 | -967/+842 |
|/ | |||||
* | ~ | v-0.0.2.50.0.2.5 | abc | 2023-08-25 | 1 | -1/+1 |
| | |||||
* | Merge branch 'main' into up | Tekky | 2023-08-25 | 11 | -297/+516 |
|\ | |||||
| * | ~ | Merge pull request #839 | Tekky | 2023-08-25 | 2 | -0/+67 |
| |\ | | | | | | | Wuguokai | ||||
| | * | Merge branch 'main' of https://github.com/bagusindrayana/gpt4free into main | Bagus Indrayana | 2023-08-24 | 13 | -179/+292 |
| | |\ | |||||
| | * | | add provider | Bagus Indrayana | 2023-08-17 | 2 | -1/+68 |
| | | | | |||||
| * | | | ~ | Merge pull request #838 | Tekky | 2023-08-25 | 1 | -3/+5 |
| |\ \ \ | | | | | | | | | | | fix easychat stream : remove whitspace from data: and raise exception | ||||
| | * | | | remove whitspace from data: and raise exception | Bagus Indrayana | 2023-08-24 | 1 | -3/+5 |
| | | |/ | | |/| | |||||
| * | | | ~| Merge pull request #834 | Tekky | 2023-08-25 | 3 | -6/+14 |
| |\ \ \ | | | | | | | | | | | fix Yqcloud and You prompter using only the last message | ||||
| | * | | | Ails Supplementary Identification of Unusual Response Content | zengrr | 2023-08-25 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | Ails throw the contents of an error response | zengrr | 2023-08-23 | 1 | -0/+2 |
| | | | | | |||||
| | * | | | fix Yqcloud's prompter using only the last message | zengrr | 2023-08-23 | 1 | -1/+4 |
| | | | | | |||||
| | * | | | "You" unicode decode and fix prompt just is last message | zengrr | 2023-08-23 | 1 | -5/+8 |
| | |/ / | |||||
| * | | | Merge pull request #833 from hlohaus/bing | Tekky | 2023-08-25 | 6 | -288/+430 |
| |\ \ \ | | |/ / | |/| | | Fix bing provider | ||||
| | * | | Add OpenaiChat and Hugchat Provider | Heiner Lohaus | 2023-08-25 | 6 | -79/+259 |
| | | | | | | | | | | | | | | | | | | | | | | | | Add tests for providers with auth Improve async support / 2x faster Shared get_cookies by domain function | ||||
| | * | | Add create_async method | Heiner Lohaus | 2023-08-23 | 1 | -19/+39 |
| | | | | |||||
| | * | | Fix bing provider | Heiner Lohaus | 2023-08-21 | 1 | -261/+203 |
| | | | | |||||
* | | | | Improve provider list | Heiner Lohaus | 2023-08-24 | 5 | -11/+11 |
| | | | | |||||
* | | | | Improve providers with tests | Heiner Lohaus | 2023-08-22 | 6 | -20/+18 |
|/ / / | |||||
* | | | ~ | Merge pull request #8290.0.2.4 | Tekky | 2023-08-22 | 1 | -8/+9 |
|\ \ \ | | | | | | | | | Update link for provider ChatgptLogin | ||||
| * | | | change link | Bagus Indrayana | 2023-08-20 | 1 | -8/+9 |
| |/ / | |||||
* | | | ~ | Merge pull request #828 | Tekky | 2023-08-22 | 1 | -15/+72 |
|\ \ \ | | | | | | | | | fix theb but need auth | ||||
| * | | | fix theb but need auth | Bagus Indrayana | 2023-08-20 | 1 | -15/+72 |
| |/ / | |||||
* | | | ~ | Merge pull request #827 | Tekky | 2023-08-22 | 1 | -9/+30 |
|\ \ \ | | | | | | | | | update header & response easychat | ||||
| * | | | update header & response easychat | Bagus Indrayana | 2023-08-20 | 1 | -9/+30 |
| |/ / | |||||
* | | | fix Equing response error with no stream | zengrr | 2023-08-22 | 1 | -0/+3 |
| | | | |||||
* | | | set encoding and temperature | zengrr | 2023-08-22 | 3 | -5/+10 |
|/ / | |||||
* | | ~ Merge pull request #816 | Tekky | 2023-08-20 | 4 | -74/+101 |
|\ \ | | | | | | | add V50 Provider & refactor Raycast (need testing with auth) | ||||
| * | | another merge | Bagus Indrayana | 2023-08-17 | 5 | -4/+165 |
| |\| | |||||
| * | | refactor V50 and Raycast | Bagus Indrayana | 2023-08-17 | 2 | -85/+123 |
| | | | |||||
| * | | merge and refactor | Bagus Indrayana | 2023-08-17 | 187 | -10896/+2439 |
| |\ \ | |||||
| * | | | add proxy and remove stream | Bagus Indrayana | 2023-08-17 | 1 | -1/+1 |
| | | | | |||||
| * | | | add v50 | Bagus Indrayana | 2023-08-17 | 2 | -0/+44 |
| | | | | |||||
* | | | | ~ | Merge pull request #808 | Tekky | 2023-08-20 | 1 | -69/+67 |
|\ \ \ \ | | | | | | | | | | | Fix bard provider | ||||
| * | | | | Fix bard provider, add async support | Heiner Lohaus | 2023-08-18 | 1 | -69/+67 |
| | |_|/ | |/| | | |||||
* | | | | Update Yqcloud.py | MaxKUlish1 | 2023-08-17 | 1 | -0/+1 |
| | | | | | | | | | | | | # specify the correct encoding forcibly | ||||
* | | | | Update Yqcloud.py | MaxKUlish1 | 2023-08-17 | 1 | -1/+0 |
| | | | | |||||
* | | | | Update Yqcloud.py | MaxKUlish1 | 2023-08-17 | 1 | -0/+1 |
|/ / / | | | | | | | # specify the correct encoding forcibly | ||||
* | / | ~ | major refractoring + new providers | v0.0.2.0 | abc | 2023-08-17 | 5 | -3/+164 |
| |/ |/| | | | | | | | | | g4f.Provider.FastGpt & g4f.Provider.Equing gpt-3.5-turbo-0613 | ||||
* | | ~ | major refractoring | v0.0.2.0 | abc | 2023-08-17 | 5 | -12/+12 |
| | | |||||
* | | refactor: refactor provider | MIDORIBIN | 2023-08-14 | 186 | -10894/+2492 |
|/ | |||||
* | ~ | small fixes & new pypi version | v-0.0.1.90.0.1.90.0.1.0 | abc | 2023-08-14 | 1 | -1/+1 |
| | |||||
* | small fixes & new pypi version | abc | 2023-08-14 | 3 | -4/+113 |
| | |||||
* | Merge pull request #801 from johnd0e/fix-ails | xtekky | 2023-08-14 | 1 | -1/+1 |
|\ | | | | | Fix Ails.py | ||||
| * | Fix Ails.py | johnd0e | 2023-08-14 | 1 | -1/+1 |
| | | | | | | Fix arguments order | ||||
* | | Merge pull request #794 from ye4241/main | xtekky | 2023-08-14 | 2 | -0/+51 |
|\ \ | | | | | | | Add Raycast Provider | ||||
| * | | Add Raycast Provider | ye4241 | 2023-08-09 | 2 | -0/+51 |
| |/ | |||||
* | | Update EasyChat.py | omidima | 2023-08-12 | 1 | -10/+9 |
| | | | | | | Resolve review comments. | ||||
* | | Update EasyChat.py | omidima | 2023-08-11 | 1 | -1/+8 |
| | | | | | | update active servers | ||||
* | | Update EasyChat.py | omidima | 2023-08-08 | 1 | -16/+17 |
|/ | | | Change model address and add proxy & session for pass cloudflare auth on requests. | ||||
* | Merge pull request #693 from ramonvc/main | xtekky | 2023-08-07 | 1 | -12/+13 |
|\ | | | | | Fix: There is no current event loop in thread. | ||||
| * | Fix: There is no current event loop in thread. | Ramon Victor Cardoso | 2023-06-27 | 1 | -12/+13 |
| | | |||||
* | | Merge pull request #790 from VastV2/Ails-Update | xtekky | 2023-08-07 | 1 | -3/+5 |
|\ \ | | | | | | | Update Ails.py | ||||
| * | | Update Ails.py | VastV2 | 2023-08-05 | 1 | -3/+5 |
| | | | | | | | | | after they update the client-v version the page is not working anymore, so I made this to get the version number automatically, this way we don't need to update the version manually. | ||||
* | | | Merge pull request #788 from omidima/main-1 | xtekky | 2023-08-07 | 1 | -26/+52 |
|\ \ \ | | | | | | | | | Update DeepAi.py | ||||
| * | | | Update DeepAi.py | omidima | 2023-08-05 | 1 | -26/+52 |
| |/ / | |||||
* | | | Merge pull request #784 from kggn/main | xtekky | 2023-08-07 | 2 | -0/+43 |
|\ \ \ | | | | | | | | | Add opchatgpts.net support | ||||
| * | | | Update __init__.py | kggn | 2023-08-01 | 1 | -1/+1 |
| | | | | |||||
| * | | | Update __init__.py | kggn | 2023-08-01 | 1 | -0/+1 |
| | | | | |||||
| * | | | Create opchatgpts.py | kggn | 2023-08-01 | 1 | -0/+42 |
| |/ / | |||||
* | | | Merge pull request #772 from MIDORIBIN/refactor-models | xtekky | 2023-08-07 | 2 | -231/+243 |
|\ \ \ | |/ / |/| | | refactor models file | ||||
| * | | refactor: refactor models | MIDORIBIN | 2023-07-25 | 2 | -231/+243 |
| | | | |||||
* | | | Update Vercel.py | abc | 2023-07-24 | 1 | -109/+8 |
|/ / | |||||
* | | Use the temperature parameter | grandsonneo@gmail.com | 2023-07-22 | 6 | -13/+13 |
| | | |||||
* | | Merge pull request #768 from nonk123/main | xtekky | 2023-07-21 | 1 | -0/+0 |
|\ \ | | | | | | | Fix the import errors | ||||
| * | | Fix the import errors | nonk123 | 2023-07-21 | 1 | -0/+0 |
| | | | |||||
* | | | Update Provider.DfeHub to consider rate-limit | najam-tariq | 2023-07-19 | 1 | -1/+9 |
|/ / | |||||
* | | Merge branch 'main' of https://github.com/xtekky/gpt4free | abc | 2023-07-18 | 1 | -1/+1 |
|\ \ | |||||
| * | | Rename DFEHub.py to DfeHub.py | xtekky | 2023-07-18 | 1 | -1/+1 |
| | | | |||||
* | | | . | abc | 2023-07-18 | 1 | -1/+1 |
|/ / | |||||
* | | pypi package (pip install `g4f`) | abc | 2023-07-17 | 1 | -2/+6 |
| | | |||||
* | | minor fixes | abc | 2023-07-16 | 27 | -64/+136 |
| | | |||||
* | | minor fixes | abc | 2023-07-16 | 4 | -5/+4 |
| | | | | | | | | ails, chatgptai ... | ||||
* | | refactor/move provider from testing folder | Bagus Indrayana | 2023-07-12 | 5 | -0/+364 |
| | | |||||
* | | Add files via upload | AlephZero255 | 2023-07-10 | 1 | -105/+93 |
| | | | | | | Fix empty H2o output | ||||
* | | some more providers | najam-tariq | 2023-07-05 | 5 | -1/+169 |
| | | |||||
* | | fix subDomain of LockChat | Lê Anh Tuấn | 2023-06-29 | 1 | -2/+2 |
|/ | |||||
* | gpt4free v2, first releasev2 | t.me/xtekky | 2023-06-24 | 151 | -0/+10302 |