summaryrefslogtreecommitdiffstats
path: root/g4f (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix Bing key errorHeiner Lohaus2024-03-191-2/+2
|
* Fix missing websocket_request_id in OpenaiChatHeiner Lohaus2024-03-199-51/+238
| | | | | | Add RateLimitErrors to Bing Add android support to gui api Add annotations import to gui api
* Fix abort in webviewHeiner Lohaus2024-03-176-24/+36
|
* Fix Provider not found errorHeiner Lohaus2024-03-161-1/+1
|
* Fix GigaChat exceptions, Raise missing browser errorHeiner Lohaus2024-03-167-33/+28
|
* Merge pull request #1691 from hlohaus/retry0.2.5.0H Lohaus2024-03-1633-565/+993
|\ | | | | Add model preselection in gui
| * Add conversation support for BingHeiner Lohaus2024-03-165-46/+113
| |
| * Add copilot conversation modeHeiner Lohaus2024-03-162-25/+40
| |
| * Serverless webview guiHeiner Lohaus2024-03-1619-404/+436
| |
| * Move raise_for_status, Create FormData wrapperHeiner Lohaus2024-03-157-50/+118
| |
| * Add Pyinstaller support, Use curl_cffi in You providerHeiner Lohaus2024-03-1512-49/+106
| |
| * Add export / import conversationsHeiner Lohaus2024-03-143-12/+57
| |
| * Filter not working provider from RetryProviderHeiner Lohaus2024-03-142-4/+7
| |
| * Add webview support to OpenaiChatHeiner Lohaus2024-03-145-61/+130
| |
| * Add model preselection in guiHeiner Lohaus2024-03-135-46/+118
| |
* | Merge pull request #1694 from ComRSMaster/mainH Lohaus2024-03-154-2/+157
|\ \ | | | | | | GigaChat models add
| * | GigaChat models addvlad2024-03-134-2/+157
| |/
* / Error checking for Vercel (#1704)Abobo2024-03-151-1/+4
|/ | | Error checking is done for Vercel's create_completion to avoid interruption caused by UnicodeDecodeError.
* Merge pull request #1684 from hlohaus/retry0.2.4.1H Lohaus2024-03-1312-153/+223
|\ | | | | Add count chars to gui, Add retry support to fix rate limit in Bing
| * Update Bing.pyH Lohaus2024-03-131-1/+0
| |
| * Show apology in BingHeiner Lohaus2024-03-131-20/+29
| |
| * Remove generate images buttonHeiner Lohaus2024-03-132-2/+9
| |
| * Fix Bing create images, Add gui in webview initHeiner Lohaus2024-03-135-26/+71
| |
| * Add count chars to gui, Add retry support to fix rate limit in BingHeiner Lohaus2024-03-128-113/+123
| |
* | Update Liaobots.py (#1678)0.2.4.0OmiiiDev2024-03-121-23/+34
|/ | | | | * Update Liaobots.py Added Claude 3 models and updated other models
* Fix unit test with missing requirementsHeiner Lohaus2024-03-121-1/+1
|
* Remove all not working provider (#1679)H Lohaus2024-03-1254-500/+656
| | | | Fix many providers Add selenium-wire to requierments
* ~ | support local llm inference0.2.3.3abc2024-03-111-68/+5
|
* ~ | support local llm inferenceabc2024-03-114-0/+238
|
* Merge pull request #1672 from hlohaus/phind20.2.3.1H Lohaus2024-03-1112-76/+234
|\ | | | | Fix HuggingChat and PerplexityLabs and add HuggingFace provider
| * Fix HuggingChat and PerplexityLabs and add HuggingFace providerHeiner Lohaus2024-03-1112-76/+234
| | | | | | | | | | Add more models and image generation in You provider Use You as second default image provider
* | ~ gui system prompt spacingxtekky-patch-1Tekky2024-03-091-2/+2
|/ | | The spacing was misaligned, a little increase in the with fixes it
* Add word count from iG8RHeiner Lohaus2024-03-095-119/+122
| | | | | | Improve Bing provider Some gui improvments Improve error handling in gui
* Add system message input to guiHeiner Lohaus2024-03-094-103/+134
| | | | Improve OpenaiChat provider
* Expire cache, Fix multiple websocket conversations in OpenaiChatHeiner Lohaus2024-03-082-16/+19
| | | | Map system messages to user messages in GeminiPro
* Enable Liaobots, disable Phind providerHeiner Lohaus2024-03-087-10/+14
|
* Fix TypeError: 'Api' object is not callableRamon Victor Cardoso2024-03-081-3/+3
|
* Merge branch 'main' of https://github.com/xtekky/gpt4freeabc2024-03-074-12/+9
|\
| * Update Liaobots.pyCommenter1233212024-03-071-1/+1
| |
| * Fiy unittests with duckduckgo-search 5.0Heiner Lohaus2024-03-061-1/+1
| |
| * Use word word count from alfaazHeiner Lohaus2024-03-061-8/+1
| |
| * Use word word count from alfaazHeiner Lohaus2024-03-061-2/+6
| | | | | | | | Fix delete config on clear conversations
* | ~ | fixed Vercel Providerabc2024-03-072-315/+416
|/
* Improve gui handling, Improve count tokensHeiner Lohaus2024-03-031-22/+28
|
* Fix history on error, fix count words for chineseHeiner Lohaus2024-03-021-4/+7
|
* Merge pull request #1642 from hlohaus/flow0.2.2.6H Lohaus2024-02-294-49/+106
|\ | | | | Ignore empty auth header in api / Add live token count in gui
| * Ignore empty auth header in apiHeiner Lohaus2024-02-294-49/+106
| | | | | | | | Add live token count in gui
* | Update OpenaiChat.py0.2.2.5H Lohaus2024-02-281-1/+1
| |
* | Update OpenaiChat.pyH Lohaus2024-02-281-1/+1
| |
* | Merge pull request #1637 from hlohaus/flowH Lohaus2024-02-2817-184/+346
|\| | | | | | | Add support for message history and system message in OpenaiChat Add support for new websocket stream in OpenaiChat
| * Add websocket support in OpenaiChatHeiner Lohaus2024-02-283-96/+135
| |
| * Update some providersHeiner Lohaus2024-02-2715-87/+179
| | | | | | | | | | | | | | Improve read access_token in OpenaiChat Add IterProvider Add system message support in FlowGpt Filter none values in new Client
| * Add support for message history and system message in OpenaiChatHeiner Lohaus2024-02-263-47/+78
| | | | | | | | | | | | Add fetch access_token and fix cookie usage in OpenaiChat Fix save created access_token in cookies in OpenaiChat Add use_auth_header config in GeminiPro
* | Merge pull request #1635 from hlohaus/flow0.2.2.3H Lohaus2024-02-261-5/+8
|\| | | | | Fix filter messages in gui
| * Fix filter messages in guiHeiner Lohaus2024-02-261-5/+8
| |
* | Merge pull request #1633 from hlohaus/flowH Lohaus2024-02-266-19/+36
|\| | | | | | | | | Fix GeminiPro auth for normal user Add rdns suport for proxies Improve filter_messages in gui
| * Add proxy connector to GeminiProHeiner Lohaus2024-02-261-3/+5
| |
| * Add default values for rdnsHeiner Lohaus2024-02-263-4/+3
| |
| * Improve filter_messages in guiHeiner Lohaus2024-02-263-6/+20
| | | | | | | | Add rdns suport for proxies
| * Fix GeminiPro auth for normal userHeiner Lohaus2024-02-261-8/+10
| |
* | Merge pull request #1630 from hlohaus/flow0.2.2.1H Lohaus2024-02-254-36/+59
|\| | | | | Custom api_base for GeminiPro
| * Improve mobile css stylesHeiner Lohaus2024-02-251-2/+10
| |
| * gui: remove cursor on errorsHeiner Lohaus2024-02-253-25/+30
| | | | | | | | Add auth header to GeminiPro provider
| * Improve show result in guiHeiner Lohaus2024-02-251-6/+10
| |
| * Custom api_base for GeminiProHeiner Lohaus2024-02-251-10/+16
| |
* | Merge pull request #1625 from hlohaus/flow0.2.2.0H Lohaus2024-02-257-28/+169
|\| | | | | Add FlowGpt provider, Fix issue with None values in api
| * Fix typo in system_message in FlowGptHeiner Lohaus2024-02-251-1/+1
| |
| * Fix cookies is None bugHeiner Lohaus2024-02-251-1/+1
| |
| * Add count word and tokens in guiHeiner Lohaus2024-02-243-23/+89
| |
| * Add FlowGpt provider, Fix issue with None values in apiHeiner Lohaus2024-02-244-4/+79
| |
* | DeepInfra: Add max_tokens and stopnullstreak2024-02-241-0/+2
|/
* Add remove messages from historyHeiner Lohaus2024-02-242-23/+95
| | | | Improve hidding regenerated messages
* Add help me coding guideHeiner Lohaus2024-02-242-10/+11
| | | | Add MissingAuthError in GeminiPro
* Set default values for generation configHeiner Lohaus2024-02-232-6/+12
| | | | Set a list of providers
* Improve readme, add smartphone guideHeiner Lohaus2024-02-233-34/+16
|
* Fix isssue with stop in clientHeiner Lohaus2024-02-231-4/+1
|
* Add GeminiPro API providerHeiner Lohaus2024-02-237-52/+183
| | | | | Set min version for undetected-chromedriver Add api_key to the new client
* Add missing file0.2.1.8Heiner Lohaus2024-02-231-0/+0
|
* Fix unittests, use Union typingHeiner Lohaus2024-02-233-10/+14
|
* Use new client in inter apiHeiner Lohaus2024-02-233-162/+159
|
* Add challenge_seeds in PhindHeiner Lohaus2024-02-221-17/+30
|
* Update client docs, Enable some testsHeiner Lohaus2024-02-221-2/+2
|
* Move some modules, create providers dirHeiner Lohaus2024-02-2222-415/+416
| | | | | | Set min version for duckduckgo Make duckduckgo search async Remove get_lastet_version
* Update docs / readme, Improve Gemini authHeiner Lohaus2024-02-211-16/+22
|
* Merge pull request #1598 from hlohaus/index0.2.1.6H Lohaus2024-02-193-18/+40
|\ | | | | Add MathJax to GUI #1563, Add model name to GUI #1600, Try to fix Captcha Issue in Bing
| * Add MathJax to GUI #1563, Add model name to GUI #1600Heiner Lohaus2024-02-192-17/+36
| |
| * Try to fix Captcha IssueHeiner Lohaus2024-02-171-1/+4
| |
* | Move GeminiProChat to a new provider #1596 (#1601)luna2024-02-191-7/+8
| | | | | | * Fix xtekky#1596
* | Merge pull request #1597 from xtekky/index0.2.1.5H Lohaus2024-02-172-4/+17
|\| | | | | Index
| * Improve create conversation in BingHeiner Lohaus2024-02-172-4/+17
| |
* | Merge pull request #1586 from nullstreak/temperature0.2.1.4H Lohaus2024-02-142-0/+3
|\ \ | |/ |/| Basic support for the temperature parameter
| * Basic support for the temperature parameternullstreak2024-02-142-0/+3
| |
* | Merge pull request #1587 from hlohaus/openaiH Lohaus2024-02-144-126/+94
|\ \ | |/ |/| Add unitests for the client
| * Add unitests for the clientHeiner Lohaus2024-02-144-126/+94
| | | | | | | | | | Fix: async generator ignored GeneratorExit Fix: ResourceWarning: unclosed event loop
* | Update Bing SetsEikosa2024-02-121-2/+4
|/ | | Needs to be tested, if this addition is not made, bing will not work well enough
* Add variant exampleHeiner Lohaus2024-02-121-5/+11
|
* Add new Client API with DocsHeiner Lohaus2024-02-1210-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 GeminiHeiner Lohaus2024-02-113-5/+8
| | | | Fix issue in Bing Image Decorator
* Add disable history button in GUIHeiner Lohaus2024-02-112-4/+14
|
* Fix select chat mode, fix auth value in YouHeiner Lohaus2024-02-111-3/+3
|
* Add upload image support in YouHeiner Lohaus2024-02-111-50/+105
|
* Add upload image in You providerHeiner Lohaus2024-02-112-1/+3
|
* Fix convert image to jpg in BingHeiner Lohaus2024-02-112-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 cookiesHeiner Lohaus2024-02-117-30/+136
|
* Update image.pyH Lohaus2024-02-101-2/+2
|
* Fix process_image to handle transparency correctlyRafael Fonseca2024-02-101-1/+1
|
* Update Gemini.pyH Lohaus2024-02-091-1/+0
|
* Read cookies from config in GeminiHeiner Lohaus2024-02-095-9/+14
| | | | Fixes for OpenaiChat Provider
* Update OpenaiChat.pyH Lohaus2024-02-091-1/+1
|
* Update provider and model list (#1568)H Lohaus2024-02-0913-200/+215
| | | | Move bing.create_images and cookies helper Disable some providers
* Merge pull request #1565 from hlohaus/gemini0.2.1.1H Lohaus2024-02-093-10/+67
|\ | | | | Fix OpenaiChat provider, Fix issue with curl_cffi
| * Fix Phind Provider / add generate_challengeHeiner Lohaus2024-02-092-3/+49
| |
| * Fix OpenaiChat provider, Fix issue with curl_cffiHeiner Lohaus2024-02-091-7/+18
| |
* | Merge pull request #1564 from hlohaus/geminiH Lohaus2024-02-0913-44/+258
|\| | | | | Add Gemini Provider with image upload and generation
| * Add example for Image Upload & GenerationHeiner Lohaus2024-02-092-19/+22
| |
| * Resolve images in Gemini ProviderHeiner Lohaus2024-02-093-6/+42
| |
| * Add Gemini Provider with image upload and generationHeiner Lohaus2024-02-0812-39/+214
| |
* | add CodeLlama-70b to HuggingChatMiezhiko2024-02-061-1/+2
| |
* | Merge pull request #1547 from nullstreak/codellama-70b0.2.1.0H Lohaus2024-02-051-1/+8
|\ \ | | | | | | Added CodeLlama 70b model
| * | Added CodeLlama 70bnullstreak2024-02-041-1/+8
| |/
* / Change GeekGPT and FakeGPT status to inactive as owner statement: https://linux.do/t/topic/1051RasyiidWho2024-02-052-2/+2
|/
* Fix key error in set_cookiesHeiner Lohaus2024-02-011-1/+1
|
* Fix issue #1537, copy options setsHeiner Lohaus2024-02-011-1/+1
|
* Fix DeepInfra: Model is not supportednullstreak2024-01-301-1/+2
|
* Add aiohttp_socks to requirementsHeiner Lohaus2024-01-2911-74/+93
| | | | | Fix preview for uploaded and generated images in gui Improve typing, readme
* Merge pull request #1523 from u66u/which-webdriverH Lohaus2024-01-291-2/+6
|\ | | | | Fix chromedriver path
| * 1. Discover chromedriver dynamically with "which". 2. Use "finally" in WebDriverSession.__exit__technicca2024-01-281-2/+6
| |
* | remove additional tags in PhindHoutar2024-01-281-0/+2
|/ | | Phind added new additional tags to their reply and this commit removed them.
* Fix PerplexityLabs Provider, Improve bypass_cloudflare helperHeiner Lohaus2024-01-2711-164/+186
|
* Fix: ChromeDriver only supports characters in the BMPHeiner Lohaus2024-01-2617-60/+73
| | | | Add set_cookies helper, Show last used model
* New minimum requirements (#1515)0.2.0.6H Lohaus2024-01-2628-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.5H Lohaus2024-01-248-26/+50
|\ | | | | Add aiohttp_socks support
| * Add get_connector helperHeiner Lohaus2024-01-248-41/+29
| |
| * Add aiohttp_socks supportHeiner Lohaus2024-01-235-21/+57
| |
* | Merge pull request #1509 from hlohaus/sortH Lohaus2024-01-239-94/+116
|\| | | | | Add ProviderModelMixin for model selection
| * Add ProviderModelMixin for model selectionHeiner Lohaus2024-01-238-88/+104
| |
| * Upload transparency imageHeiner Lohaus2024-01-231-6/+12
| |
* | ~ | Update Chatgpt4Online.pyTekky2024-01-231-2/+2
| | | | | | clouldfare block on Chatgpt4Online
* | Merge pull request #1508 from hlohaus/sortH Lohaus2024-01-231-4/+5
|\| | | | | Fix: Model sometimes not converted #1507
| * Fix: Model sometimes not converted #1507Heiner Lohaus2024-01-231-4/+5
| |
* | Added CodeLlama and misc models from DeepInfra (#1506)nullstreak2024-01-231-5/+25
|/
* Fix background in select boxHeiner Lohaus2024-01-231-1/+1
|
* Cleanup model listHeiner Lohaus2024-01-233-185/+53
|
* Revert "Cleanup unused dependencies"Heiner Lohaus2024-01-236-17/+6989
| | | | This reverts commit c2115309aba793530f7072848154fcad97d866b1.
* Add PerplexityLabs ProviderHeiner Lohaus2024-01-232-2/+100
|
* Add upload svg image supportHeiner Lohaus2024-01-236-26/+51
| | | | Fix upload image in Bing Provider
* Improve CreateImagesBingHeiner Lohaus2024-01-2214-83/+68
| | | | Sort providers by category
* Join Phind contextHeiner Lohaus2024-01-211-1/+1
|
* Fix Phind context and chat history not keeping up with the promptRasyiidWho2024-01-211-3/+3
|
* Merge pull request #1489 from hlohaus/neww0.2.0.4Tekky2024-01-211-7/+3
|\ | | | | Fix load json in DeepInfra
| * Fix load json in DeepInfraHeiner Lohaus2024-01-211-7/+3
| |
* | Merge pull request #1488 from nullstreak/dolphin-mixtralTekky2024-01-211-0/+13
|\ \ | |/ |/| Add dolphin-2.6-mixtral-8x7b model
| * Add dolphin-2.6-mixtral-8x7bnullstreak2024-01-211-0/+13
| |
* | Merge pull request #1487 from nullstreak/deepinfra-patchH Lohaus2024-01-211-9/+16
|\ \ | | | | | | DeepInfra: Fix token duplication
| * | DeepInfra: Fix token duplicationnullstreak2024-01-211-9/+16
| |/
* | Merge pull request #1486 from hlohaus/copilotH Lohaus2024-01-215-35/+43
|\ \ | |/ |/| Improve tests
| * Improve testsHeiner Lohaus2024-01-215-35/+43
| |
* | Merge pull request #1484 from hlohaus/copilotH Lohaus2024-01-213-10/+27
|\| | | | | Copilot
| * Check access from chromedriverHeiner Lohaus2024-01-201-1/+3
| |
| * Remove usage of get_event_loop helperHeiner Lohaus2024-01-202-9/+24
| |
* | Llama2.py result decode errordiaodeng2024-01-181-2/+2
|/
* Remove deprecation in get_event_loopHeiner Lohaus2024-01-141-4/+10
|
* Fix unittests (#1472)H Lohaus2024-01-142-11/+10
| | | | | | | | | * Fix unittests * Fix missing distutils, install setuptools * Fix version not found * Remove deprecation in get_event_loop
* Fix unittestsHeiner Lohaus2024-01-141-12/+40
|
* Change doctypes style to GoogleHeiner Lohaus2024-01-148-104/+386
| | | | | | Fix typo in latest_version Fix Phind Provider Add unittest worklow and main tests
* Refactor code with AIHeiner Lohaus2024-01-1419-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 BingHeiner Lohaus2024-01-136-22/+23
| | | | | Add ImageResponse to Bing Fix cursor styling in gui
* Improve FreeChatgpt ProviderHeiner Lohaus2024-01-132-39/+49
|
* Added support for more models: FreeChatgpt (#1456)Debaditya Banerji2024-01-132-47/+50
| | | | | | * Improved FreeChatgpt, added support for more models * Added new model: Gemini Pro
* Fix merge issuesHeiner Lohaus2024-01-132-5/+3
|
* Merge branch 'main' into mainH Lohaus2024-01-1317-425/+605
|\
| * Merge pull request #1462 from hlohaus/imgH Lohaus2024-01-1317-427/+605
| |\ | | | | | | Support upload image in gui
| | * Support upload image in guiHeiner Lohaus2024-01-1317-427/+605
| | | | | | | | | | | | | | | | | | | | | Add image upload to OpenaiChat Add image response to OpenaiChat Improve ChatGPT Plus Support Remove unused requirements
* | | Cleanup unused dependenciesAkash Mondal2024-01-137-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 pypiTekky2024-01-121-0/+0
|\ \ | |/ |/|
| * Fixed Error "No module named g4f.Provider.bing" (#1448)Debaditya Banerji2024-01-111-0/+0
| | | | | | * Added init file to initiate bing as a Module
* | Add publish-to-pypi workflowHeiner Lohaus2024-01-124-10/+14
|/ | | | | Improve gui frontend Fix web search in bing
* Fix create_async in CreateImagesProviderHeiner Lohaus2024-01-101-5/+8
|
* Fix bing stream funcHeiner Lohaus2024-01-101-1/+1
|
* Added timeout to Bing (#1438)0.1.9.10Eikosa2024-01-101-8/+9
| | | Co-authored-by: H Lohaus <hlohaus@users.noreply.github.com>
* Add create images to Bing (#1426)H Lohaus2024-01-1018-307/+671
| | | | | Add create images from Bing Add FreeChatgpt Provider Fix Bard Provider
* Fix module 'g4f.debug' has no attribute 'get_version'Ramon Victor Cardoso2024-01-041-1/+1
|
* Add GeminiProChat Provider (#1419)H Lohaus2024-01-023-6/+59
| | | * Add GeminiProChat Provider
* New Provider 'Bestim' (#1416)4sh2024-01-022-0/+79
| | | * Add new provider Bestim
* Fix markdown replaceHeiner Lohaus2024-01-021-1/+3
|
* Fix DeepInfra ProviderHeiner Lohaus2024-01-011-40/+48
|
* Fix permissions for chromedriverHeiner Lohaus2024-01-012-2/+3
| | | | | Fix NoVNC server access Remove java from build
* Add support for all modelsHeiner Lohaus2024-01-0143-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 closedHeiner Lohaus2024-01-012-21/+24
|
* Add _puid cookie, save access_token in cookies in OpenaiChatHeiner Lohaus2024-01-011-7/+19
|
* Fix Chatgpt4Online providerHeiner Lohaus2023-12-311-17/+47
|
* Fix Liabots sessionHeiner Lohaus2023-12-311-4/+10
|
* Merge pull request #1406 from OmiiiDev/patch-1H Lohaus2023-12-311-3/+40
|\ | | | | Update Liaobots.py
| * Update Liaobots.pyOmiiiDev2023-12-291-3/+40
| | | | | | Added more models
* | remove unnecessary semicolonYash Varshney2023-12-311-1/+1
|/
* Merge pull request #1389 from hlohaus/gpt6H Lohaus2023-12-274-1/+61
|\ | | | | Add Gpt6 Provider
| * Add Gpt6 ProviderHeiner Lohaus2023-12-254-1/+61
| |
* | Merge pull request #1390 from hlohaus/p38H Lohaus2023-12-271-2/+2
|\ \ | | | | | | Support Python 3.8
| * | Support Python 3.8Heiner Lohaus2023-12-251-2/+2
| |/
* | Improve Chatxyz ProviderHeiner Lohaus2023-12-271-22/+14
| |
* | Added new Provider Chatxyz (#1393)Debaditya Banerji2023-12-272-0/+69
| | | | | | | | | | | | | | * Added fucntionality for Provider * Added Provider in init * System message if present must be the first object in message array
* | Fix Phind providerZabir Raihan2023-12-261-3/+4
|/
* Update get_latest_version for dockerHeiner Lohaus2023-12-241-2/+8
|
* Fix api run moduleHeiner Lohaus2023-12-231-1/+1
|
* Fix api and None providerHeiner Lohaus2023-12-231-20/+12
|
* Fix streaming in AuraHeiner Lohaus2023-12-231-1/+2
|
* Fix streaming in AuraHeiner Lohaus2023-12-231-12/+11
|
* Added OpenChat's Aura Model as a new Provider (#1371)Debaditya Banerji2023-12-232-1/+57
| | | | | * Added File for new Provider: Aura * Added Aura Provider in init
* Update models.pynullstreak2023-12-211-0/+7
|
* Update Bing.pynullstreak2023-12-211-4/+12
|
* Bing: add parameter to enable/disable web search (#1360)nullstreak2023-12-191-4/+8
| | | Web search is disabled by default and can be enabled by passing `web_search = True`
* Merge pull request #1365 from NiNiyas/fix-typoH Lohaus2023-12-192-3/+3
|\ | | | | fix(typo): Fix typo in function name
| * fix(g4f): Fix typo in function nameNiNiyas2023-12-192-3/+3
| |
* | Merge pull request #1364 from eminemkun/mainH Lohaus2023-12-191-2/+7
|\ \ | | | | | | Fix Bing provider Cookie issue 2
| * | Fix Bing provider Cookie issue 2eminemkun2023-12-181-2/+7
| |/
* / Removed the condition for filtering token_idsdevAdityaa2023-12-191-1/+1
|/
* Merge pull request #1356 from eminemkun/mainH Lohaus2023-12-161-2/+1
|\ | | | | Fix Bing provider Cookie issue
| * Fix Bing provider Cookie issueeminemkun2023-12-161-2/+1
| |
* | Merge pull request #1352 from nullstreak/mainH Lohaus2023-12-161-2/+7
|\ \ | | | | | | HuggingChat: Strip leading whitespace from the first token in the stream
| * | HuggingChat: Strip leading whitespace from the first token in the streamnullstreak2023-12-151-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 dockerHeiner Lohaus2023-12-161-1/+0
|/
* Moved NoowAI to deprecated folder as it's been officially taken downdevAdityaa2023-12-151-0/+0
|
* Remove VoiGptH Lohaus2023-12-141-5/+1
|
* Remove VoiGptH Lohaus2023-12-141-1/+0
|
* Add providers in apialvarosoares01@gmail.com2023-12-141-0/+6
|
* Merge pull request #1343 from nullstreak/mainTekky2023-12-131-1/+16
|\ | | | | Add Mistral models
| * Add Mistral modelsnullstreak2023-12-131-1/+16
| |
* | Merge pull request #1341 from GEOEGII555/patch-1Tekky2023-12-131-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.pyGEOEGII5552023-12-121-1/+1
| |/
* | Merge pull request #1331 from hlohaus/proxyTekky2023-12-1310-238/+252
|\ \ | |/ |/| Add G4F_PROXY environment
| * Change default port for guiHeiner Lohaus2023-12-113-7/+7
| | | | | | | | | | | | Change default host for api Disable gui in build Add custom docker user
| * Add error classesHeiner Lohaus2023-12-115-70/+105
| | | | | | | | Move version check to debug
| * Improve error handling in guiHeiner Lohaus2023-12-102-59/+45
| |
| * Add G4F_PROXY environmentHeiner Lohaus2023-12-105-120/+113
| | | | | | | | Add regenerate button in gui
* | Remove needs_auth, add proxy support in VoiGptHeiner Lohaus2023-12-103-81/+95
| |
* | Added a new provider voigpt.com (#1328)Meshwa4282023-12-103-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 Lohaus2023-12-081-9/+7
|
* Update readme. Add docker hubHeiner Lohaus2023-12-072-3/+3
|
* Add websearch to gui (#1314)H Lohaus2023-12-0712-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.pyH Lohaus2023-12-061-3/+6
|
* ~ | g4f v-0.1.9.20.1.9.2abc2023-12-061-1/+1
|
* Merge pull request #1309 from hlohaus/goH Lohaus2023-12-0612-143/+127
|\ | | | | Add selenium to dockerfile
| * Improve docker imageHeiner Lohaus2023-12-063-2/+7
| |
| * Add selenium to dockerfileHeiner Lohaus2023-12-0612-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.1abc2023-12-021-1/+1
|/
* Add get_session_from_browser as cloudflare bypassHeiner Lohaus2023-12-0213-115/+110
|
* Add proxy support / fix streamingHeiner Lohaus2023-12-021-15/+13
|
* Update pi providerHeiner Lohaus2023-12-014-117/+98
|
* Added new provider PI (Hacky way to use) (#1291)madonchik1232023-12-016-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
* ~abc2023-11-242-2/+2
| | | | chatgptx not working
* ~abc2023-11-242-59/+56
| | | | fix DeepInfra
* ~ | g4f `v-0.1.9.0`abc2023-11-241-1/+1
|
* Fix ChatgptAi ProviderHeiner Lohaus2023-11-221-1/+2
|
* Add GptTalkRu ProviderHeiner Lohaus2023-11-222-0/+50
|
* Disable ChatgptDemoAi, ChatAnywhere and BerlinHeiner Lohaus2023-11-223-5/+6
|
* Fix Phind and GptGo ProviderHeiner Lohaus2023-11-225-131/+188
|
* ~ | g4f v-0.1.8.90.1.8.9abc2023-11-202-7/+11
|
* ~ | improve compatibilityabc2023-11-2015-29/+65
|
* Merge branch 'main' into webdriverTekky2023-11-201-0/+15
|\
| * Fix tupo in GptGorazrab2023-11-201-2/+2
| |
* | Update AItianhu.pyH Lohaus2023-11-201-3/+4
| |
* | Update GptGo.pyH Lohaus2023-11-201-2/+3
| |
* | Support stream in create_asyncHeiner Lohaus2023-11-201-7/+9
| |
* | Add webdriver moduleHeiner Lohaus2023-11-2014-269/+219
| |
* | Add auto support params methodHeiner Lohaus2023-11-2026-355/+56
|/
* ~ |abc2023-11-205-12/+13
| | | | trying to improve compability with python versions < 3.8
* ~ | g4f `v-0.1.8.7`0.1.8.7abc2023-11-201-1/+1
|
* ~ | improve compatibility with lower python versionsabc2023-11-192-13/+13
| | | | remove tiktoken
* ~ | g4f v-0.1.8.6abc2023-11-191-1/+1
|
* Merge pull request #1269 from hlohaus/anyTekky2023-11-1911-448/+461
|\ | | | | Add Response Handler to OpenaiChat
| * Add Response Handler to OpenaiChatHeiner Lohaus2023-11-1911-448/+461
| | | | | | | | | | | | Update Providers with WebDriver Add WebDriverSession helper Use native streaming in curl_cffi
* | Merge pull request #1267 from hlohaus/anyTekky2023-11-18201-29100/+451
|\| | | | | Add AiChatOnline, ChatgptDemoAi, ChatgptNext Providers
| * Add AiChatOnline, ChatgptDemoAi, ChatgptNext ProvidersHeiner Lohaus2023-11-18201-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`abc2023-11-181-2/+1
| |
* | Merge pull request #1264 from hlohaus/anyTekky2023-11-186-96/+231
|\| | | | | Improve providers
| * Improve providersHeiner Lohaus2023-11-176-96/+231
| |
* | Merge pull request #1262 from hlohaus/anyTekky2023-11-177-97/+32
|\| | | | | Update Readme / Headless Mode
| * Remove virtualdisplay and add headless modeHeiner Lohaus2023-11-177-97/+32
| |
* | Merge pull request #1261 from hlohaus/anyH Lohaus2023-11-175-86/+249
|\| | | | | Add Poe Provider, Update AItianhuSpace Porvider
| * Add Poe Provider, Update AItianhuSpace PorviderHeiner Lohaus2023-11-175-86/+249
| |
* | ~ | g4f `v-0.1.8.4`0.1.8.4abc2023-11-161-1/+1
| |
* | ~abc2023-11-161-1/+1
| |
* | Merge pull request #1260 from hlohaus/anyTekky2023-11-1611-474/+516
|\| | | | | Update Phind and PerplexityAi - GPT-4 Providers
| * Update Liaobots.pyH Lohaus2023-11-161-1/+1
| |
| * Update MyShell.pyH Lohaus2023-11-161-5/+5
| |
| * Update Bard.pyH Lohaus2023-11-161-12/+7
| |
| * Update Phind.pyH Lohaus2023-11-161-4/+11
| |
| * Update Phind.pyH Lohaus2023-11-161-5/+6
| |
| * Update MyShell.pyH Lohaus2023-11-161-2/+7
| |
| * Update MyShell.pyH Lohaus2023-11-161-10/+6
| |
| * Update PerplexityAi.pyH Lohaus2023-11-161-10/+9
| |
| * Update helper.pyH Lohaus2023-11-161-8/+8
| |
| * Update Phind.pyH Lohaus2023-11-161-9/+4
| |
| * Update helper.pyH Lohaus2023-11-161-0/+1
| |
| * Update helper.pyH Lohaus2023-11-161-1/+6
| |
| * Fix Bard ProviderHeiner Lohaus2023-11-163-81/+86
| |
| * Fix Phind and PerplexityAi - GPT-4 ProvidersHeiner Lohaus2023-11-169-402/+435
| | | | | | | | | | | | | | Fix MyShell Provider Refactor Provider __init__ Add ChatAnywhere Provider Update models list
* | Merge pull request #1257 from AndPim4912/ignored-tupoH Lohaus2023-11-161-1/+1
|\ \ | | | | | | Fixed tupo in list_ignored_providers parameter.
| * | Fixed tupo in list_ignored_providers parameter.razrab2023-11-161-1/+1
| | |
* | | Merge pull request #1258 from AndPim4912/chatbaseH Lohaus2023-11-161-0/+5
|\ \ \ | | | | | | | | Add back crutch of incorrect responses to ChatBase
| * | | Add back crutch of incorrect responses to ChatBaserazrab2023-11-161-0/+5
| |/ /
* | | Merge branch 'xtekky:main' into testJunXiang2023-11-161-1/+1
|\| |
| * | Merge pull request #1250 from kacperkwapisz/patch-1H Lohaus2023-11-161-1/+1
| |\ \ | | |/ | |/| stream check workaround & fix
| | * Update __init__.pyKacper Kwapisz2023-11-141-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_junxiang2023-11-161-1/+4
|/ /
* | Update OpenaiChat.pyH Lohaus2023-11-151-0/+1
| |
* | Merge pull request #1247 from hlohaus/piH Lohaus2023-11-1512-48/+48
|\ \ | | | | | | Fix Chatgpt4Online Provider
| * | Fix Chatgpt4Online ProviderHeiner Lohaus2023-11-1312-48/+48
| | |
* | | Check_pypi_version now returns valueEikosa2023-11-131-0/+2
| |/ |/|
* | Added back list_ignored_providers parameter to ChatCompletion.create method in api.razrab2023-11-131-1/+5
| |
* | Merge pull request #1243 from AndPim4912/mainTekky2023-11-131-2/+11
|\ \
| * | Refactor item_data update to handle byte keys and convert messages to dict.razrab2023-11-131-2/+11
| | |
* | | Merge pull request #1241 from hlohaus/piTekky2023-11-134-5/+160
|\ \ \ | |/ / |/| / | |/
| * Add Berlin and Koala ProviderHeiner Lohaus2023-11-124-5/+160
| |
* | ~ | g4f `v-0.1.8.2`0.1.8.2abc2023-11-121-1/+1
|/
* Add auto_continue to OpenaiChatHeiner Lohaus2023-11-123-46/+71
| | | | Update readme provider tables
* Add py_arkose_generator in OpenaiChatHeiner Lohaus2023-11-111-48/+12
|
* Remove height restrictionpakmmc2023-11-081-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.1abc2023-11-071-1/+1
|
* fix: api streaming TypeError: Object of type generator is not JSON serializableGiancarlo-Ma2023-11-071-1/+2
|
* fix: no module named 'flask' (#1216)hs_junxiang2023-11-071-1/+1
|
* ~ | g4f `v-0.1.8.0`abc2023-11-051-1/+1
|
* Merge pull request #1213 from thatlukinhasguy1/main0.1.8.00.1.7.8Tekky2023-11-054-212/+142
|\ | | | | Make the API use FastAPI instead of Flask
| * Update __init__.pyThatLukinhasGuy2023-11-041-1/+1
| |
| * Update __init__.pyThatLukinhasGuy2023-11-041-1/+1
| |
| * Update __init__.pyThatLukinhasGuy2023-11-041-1/+1
| |
| * Update cli.pyThatLukinhasGuy2023-11-041-1/+1
| |
| * Update cli.pyThatLukinhasGuy2023-11-041-2/+1
| |
| * Update run.pyThatLukinhasGuy2023-11-041-1/+1
| |
| * Update __init__.pyThatLukinhasGuy2023-11-041-1/+1
| |
| * Update __init__.pyThatLukinhasGuy2023-11-041-1/+1
| |
| * Update __init__.pyThatLukinhasGuy2023-11-041-1/+1
| |
| * Update __init__.pyThatLukinhasGuy2023-11-041-1/+1
| |
| * Update cli.pyThatLukinhasGuy2023-11-041-5/+1
| |
| * Update run.pyThatLukinhasGuy2023-11-041-1/+1
| |
| * Update __init__.pyThatLukinhasGuy2023-11-041-143/+138
| |
| * Update run.pyThatLukinhasGuy2023-11-041-1/+1
| |
| * Update __init__.pyThatLukinhasGuy2023-11-041-2/+2
| |
| * Update __init__.py (#1)ThatLukinhasGuy2023-11-041-2/+2
| |
| * Update __init__.pyThatLukinhasGuy2023-11-021-1/+1
| |
| * Update __init__.pyThatLukinhasGuy2023-11-021-1/+0
| |
| * Update run.pyThatLukinhasGuy2023-11-021-1/+1
| |
| * Update __init__.pyThatLukinhasGuy2023-11-021-200/+141
| |
* | Merge pull request #1207 from hlohaus/winH Lohaus2023-11-051-12/+26
|\ \ | | | | | | Fix NotImplementedError on WIn
| * | Add exec_js helper defHeiner Lohaus2023-11-031-21/+25
| | |
| * | Fix NotImplementedError on WInHeiner Lohaus2023-11-031-0/+10
| |/
* / Update Bing.py - Removed unnecessary "await" statements that could potentially lead to errorsLuneye2023-11-041-2/+2
|/
* ~ | g4f `v-0.1.7.9`0.1.7.9xtekky2023-10-311-1/+1
|
* Merge pull request #1181 from hlohaus/arkoseH Lohaus2023-10-291-3/+10
|\ | | | | Use asyncio subprocess in OpenaiChat
| * Use asyncio subprocess in OpenaiChatHeiner Lohaus2023-10-281-3/+10
| |
* | Update ChatBase.py - Added jailbreak (enabled by default), Removed list incorrect responsesLuneye2023-10-291-10/+14
| |
* | Update backend.py, index.html, requirements.txt (#1180)hdsz252023-10-282-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/mainTekky2023-10-283-50/+83
|\ \ | |/ |/| Adding context preservation to the GUI.
| * added contextunknown2023-10-273-50/+83
| |
* | Add arkose_token to OpenaiChatHeiner Lohaus2023-10-28178-15/+29503
| |
* | Update config supports_message_historyHeiner Lohaus2023-10-2727-47/+56
|/
* ~ | g4f `v-0.1.7.8`abc2023-10-271-1/+1
|
* Merge pull request #1166 from catmeowjiao/add-proxyTekky2023-10-272-11/+48
|\ | | | | add proxy support
| * add api proxycatmeowjiao2023-10-271-3/+19
| |
| * add proxy supportcatmeowjiao2023-10-261-8/+29
| |
* | Add llama2 model mappingHeiner Lohaus2023-10-261-0/+5
| |
* | Add Llama2 Providers / ModelsHeiner Lohaus2023-10-264-9/+91
|/
* Merge pull request #1153 from AndPim4912/ChatBase-incorrect-responsesTekky2023-10-251-2/+2
|\ | | | | Extract keywords from incorrect responses
| * Extract keywords from incorrect responsesrazrab2023-10-251-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-4Tekky2023-10-2511-7/+18
|\ \ | |/ |/| [suggestion] Adding new parameter to check if a provider 'natively' supports mesage history
| * Indicated support of message history in GptForLove.pyLuneye2023-10-241-0/+1
| |
| * Indicated support of message history in Bing.pyLuneye2023-10-241-0/+1
| |
| * Indicated support of message history in ChatBase.pyLuneye2023-10-241-1/+2
| |
| * Indicated support of message history in FreeGpt.pyLuneye2023-10-241-0/+1
| |
| * Indicated support of message history in GPTalk.pyLuneye2023-10-241-1/+2
| |
| * Indicated support of message history in Yqcloud.pyLuneye2023-10-241-0/+1
| |
| * Indicated support of message history in You.pyLuneye2023-10-241-1/+2
| |
| * Indicated support of message history in FakeGpt.pyLuneye2023-10-241-1/+2
| |
| * Indicated support of message history in ChatForAi.pyLuneye2023-10-241-1/+2
| |
| * Indicated support of message history in ChatgptX.pyLuneye2023-10-241-1/+2
| |
| * [suggestion] Adding new parameter to check if provider supports message historyLuneye2023-10-241-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.7abc2023-10-241-1/+1
| |
* | Merge pull request #1146 from AndPim4912/GetGpt-debian-compatTekky2023-10-241-1/+4
|\ \ | | | | | | Update GetGpt provider for Debian python3-pycryptodome compatibility
| * | Update GetGpt provider for Debian python3-pycryptodome compatibilityrazrab2023-10-241-1/+4
| |/ | | | | | | Try to import AES from Cryptodome.Cipher if Crypto.Cipher caused error.
* | Merge pull request #1145 from AndPim4912/chatbase-invalid-responseTekky2023-10-241-0/+7
|\ \ | | | | | | Add support for detecting incorrect responses in ChatBase API requests.
| * | Add support for detecting incorrect responses in ChatBase API requests.razrab2023-10-241-0/+7
| |/
* / Update MyShell.pyHeiner Lohaus2023-10-241-0/+1
|/
* Update FreeGpt.pyShubh Gajjar2023-10-241-2/+2
| | | Changed older domain url with the working new url
* ~ | g4f `v-0.1.7.6`0.1.7.6abc2023-10-231-1/+1
|
* Merge pull request #1120 from AndPim4912/api-ignore-providersTekky2023-10-232-4/+20
|\ | | | | Added code to ignore certain providers in the API
| * Merge branch 'main' into api-ignore-providersAndPim49122023-10-2344-405/+399
| |\
| * | Refactor API initialization to accept a list of ignored providers.razrab2023-10-232-5/+24
| | |
* | | Bugfix Bing.py - Resolved Issues with system prompt, Bing personalities and enabled all supported user requestsLuneye2023-10-231-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 apiHeiner Lohaus2023-10-231-1/+1
| |
* | 'Refactored by Sourcery' (#1125)ⲘrṨhส∂ow2023-10-2344-401/+398
|/ | | Co-authored-by: Sourcery AI <>
* ~ | g4f `v-0.1.7.5`abc2023-10-231-2/+2
|
* Merge pull request #1124 from hlohaus/fakeTekky2023-10-226-47/+67
|\ | | | | Improve helper
| * Debug logging supportHeiner Lohaus2023-10-225-37/+46
| | | | | | | | Async browse access token
| * Improve get_cookies helperHeiner Lohaus2023-10-222-14/+25
| |
* | Merge pull request #1122 from Luneye/patch-2Tekky2023-10-221-42/+222
|\ \ | | | | | | Major Update for Bing - Supports latest bundle version and image analysis
| * | Major Update for Bing - Supports latest bundle version and image analysisLuneye2023-10-221-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`abc2023-10-221-1/+1
| |/ |/|
* | Fix ChatgptAi ProviderHeiner Lohaus2023-10-222-39/+47
| |
* | Add rate limit error messagesHeiner Lohaus2023-10-222-1/+6
| |
* | Fix increase timeoutHeiner Lohaus2023-10-226-54/+94
| | | | | | | | | | Add Hashnode Provider Fix Yqcloud Provider
* | Enable Liaobots and ChatForAi againHeiner Lohaus2023-10-222-3/+3
| |
* | Fix MyShell ProviderHeiner Lohaus2023-10-2210-30/+115
| |
* | Add FakeGpt ProviderHeiner Lohaus2023-10-223-15/+108
|/ | | | Update providers in models
* fix bug - Cannot assign requested addresslate2023-10-212-2/+2
|
* ~ | g4f `v-0.1.7.2`0.1.7.2abc2023-10-211-1/+1
| | | | fix tiktok not found error
* ~ | g4f `v-0.1.7.2`abc2023-10-2118-129/+184
| | | | patch / unpatch providers
* ~ | g4f v-0.1.7.0abc2023-10-201-1/+1
| | | | quick fix
* ~ | 0.1.7.0abc2023-10-202-3/+4
|
* ~ | g4f v-0.1.6.9abc2023-10-201-1/+1
|
* ~abc2023-10-204-4/+9
| | | | minor changes
* ~ | quick fixabc2023-10-201-1/+1
|
* ~ | updated g4f.apiabc2023-10-205-154/+240
| | | | new api and requirements
* ~abc2023-10-195-44/+101
| | | | fix gui errors on iOS
* ~ | g4f `v-0.1.6.8`0.1.6.8abc2023-10-194-10/+15
| | | | some quick fixes
* ~ | g4f v-0.1.6.70.1.6.7abc2023-10-191-1/+1
|
* ~abc2023-10-196-151/+163
| | | | automatic models fetching in GUI.
* ~abc2023-10-191-0/+7
|
* Fix: debug.logging not work in retry providerhs_junxiang2023-10-192-6/+6
|
* Add timeoutostix3602023-10-171-1/+6
|
* ~ | g4f `v-0.1.6.6`0.1.6.6abc2023-10-161-1/+1
|
* ~ | update working providers list & gpt-4 providersabc2023-10-161-5/+8
|
* ~ | add `g4f.Provider.GeekGpt`abc2023-10-162-1/+85
|
* ~ | g4f `v-0.1.6.5`abc2023-10-161-1/+1
|
* ~ | remove non-working providersabc2023-10-1611-32/+107
|
* Add Llama2 and NoowAi ProviderHeiner Lohaus2023-10-157-8/+156
|
* ~ | g4f `v-0.1.6.4`abc2023-10-141-1/+1
|
* ~ | Merge pull request #1068 from hlohaus/freTekky2023-10-1411-106/+121
|\ | | | | Fix Opchatgpts and ChatForAi Provider
| * Fix Opchatgpts and ChatForAi ProviderHeiner Lohaus2023-10-1411-106/+121
| | | | | | | | Deprecate Vitalentum and Aivvm Provider
* | ~abc2023-10-143-15/+11
|/ | | | fix chatbase (bad) and remove from auto selection
* g4f `v-0.1.6.3`abc2023-10-131-1/+1
|
* ~ | Merge pull request #1065 from adeyinkaezra123/typo-fixes0.1.6.3Tekky2023-10-131-1/+1
|\ | | | | fix: minor typo fixes across multiple files
| * fix: remove typo in readme and configsEzra Adeyinka2023-10-131-1/+1
| |
* | ~ | Merge pull request #1060 from hlohaus/donTekky2023-10-1311-85/+397
|\ \ | | | | | | Add ChatgptLogin, ChatgptFree and GptChatly Provider
| * | Deprecate ChatForAiHeiner Lohaus2023-10-123-5/+6
| | |
| * | Add ChatgptLogin, ChatgptFree and GptChatly ProviderHeiner Lohaus2023-10-1210-80/+391
| |/
* / feat: ignore providers(#1014)hs_junxiang2023-10-131-8/+19
|/
* ~ | g4f `v-0.1.6.2`0.6.1.2abc2023-10-121-12/+8
|
* ~abc2023-10-121-1/+1
|
* ~abc2023-10-121-63/+63
|
* ~ | Merge pull request #1051 from ahobsonsayers/unify-g4f-cliTekky2023-10-127-111/+213
|\ | | | | Unify g4f tools (gui and api) into one CLI
| * Unify g4f tools into one CLIArran Hobson Sayers2023-10-127-111/+213
| |
* | Fix: GptGo json.decoder.JSONDecodeErrorhs_junxiang2023-10-121-0/+2
|/
* ~ | g4f v-0.1.6.1abc2023-10-114-11/+10
| | | | some bug fixes
* ~ | Merge pull request #1044 from Lin-jun-xiang/mainTekky2023-10-112-0/+5
|\ | | | | Fix: TypeError: unsupported operand type(s) for |:...
| * Fix: TypeError: unsupported operand type(s) for |:...hs_junxiang2023-10-112-0/+5
| |
* | fix typo in backend.pyIkko Eltociear Ashimine2023-10-111-1/+1
|/ | | occured -> occurred
* ~ | g4f `v-0.1.5.9`(remove deepai.org)abc2023-10-101-1/+1
|
* ~ | remove DeepAiabc2023-10-104-87/+2
|
* ~ | g4f `v-0.1.5.8`0.1.5.8abc2023-10-104-14/+6
|
* ~ | Merge pull request #1029 from hlohaus/dieTekky2023-10-109-35/+32
|\ | | | | Some small fixes
| * Some small fixesHeiner Lohaus2023-10-109-35/+32
| |
* | fix htmlCommenter1233212023-10-101-1/+1
| |
* | whatCommenter1233212023-10-101-3/+3
| |
* | change discord icon to telegram icon on guiCommenter1233212023-10-102-2/+2
| |
* | make user agent easily changeable in deepaiCommenter1233212023-10-101-2/+3
| |
* | fix deepai :)Commenter1233212023-10-101-18/+17
| |
* | fix provider thing in gui x2Commenter1233212023-10-104-17/+23
| |
* | fix provider thing in guiCommenter1233212023-10-101-1/+1
| |
* | remove unused import in Bing.pyCommenter1233212023-10-101-1/+0
| |
* | make internet searching betterCommenter1233212023-10-102-11/+41
| |
* | Aivvm is the best provider no capCommenter1233212023-10-101-3/+6
| |
* | Merge remote-tracking branch 'origin/main'Commenter1233212023-10-1042-319/+490
|\ \ | | | | | | | | | | | | | | | # Conflicts: # g4f/Provider/Aivvm.py # g4f/models.py
| * | Update Aivvm.pyCommenter1233212023-10-101-3/+3
| |/
| * ~ | g4f `v-0.1.5.7` [Set Provider in GUI] + Provider Proxyabc2023-10-104-144/+165
| |
| * ~abc2023-10-101-1/+15
| | | | | | | | Command line arguments for GUI
| * ~abc2023-10-102-7/+29
| | | | | | | | New system for str to Provider
| * ~abc2023-10-101-6/+7
| | | | | | | | remove chatforai
| * ~abc2023-10-101-0/+62
| | | | | | | | Conversion from str Provider to g4f.Provider
| * Add Proxy Support and Create Provider to ReadmeHeiner Lohaus2023-10-097-41/+57
| | | | | | | | Add proxy support to many providers
| * Add proxy support to all providersHeiner Lohaus2023-10-0929-113/+162
| |
* | add cool testing for gpt-3.5 and and gpt-4Commenter1233212023-10-093-26/+41
| |
* | Merge remote-tracking branch 'origin/main'Commenter1233212023-10-0988-644/+10201
|\| | | | | | | | | # Conflicts: # g4f/Provider/Aivvm.py
| * ~ | g4f `v-0.1.5.6`abc2023-10-084-14/+24
| | | | | | | | | | | | | | | | | | | | gui & interference can now be run with: python -m g4f.gui.run and python -m g4f.interference.run
| * Add Messages and AsyncResult typingHeiner Lohaus2023-10-086-32/+45
| | | | | | | | Add system_message in Yqcloud
| * Add Cromicle to provider listHeiner Lohaus2023-10-086-28/+66
| |
| * ~ | `v-0.1.5.5`abc2023-10-074-6/+10
| | | | | | | | Aiivm working again
| * ~ | g4f `v-0.1.5.5`0.1.5.5abc2023-10-071-1/+1
| |
| * Remove Aivvm from working providersHeiner Lohaus2023-10-074-21/+15
| |
| * Improve code with aiHeiner Lohaus2023-10-072-22/+32
| |
| * Improve code by AIHeiner Lohaus2023-10-074-102/+103
| |
| * Add GptGod ProviderHeiner Lohaus2023-10-0714-29/+73
| | | | | | | | | | Remove timeout from aiohttp providers Disable Opchatgpts and ChatgptLogin provider
| * Add GPTalk and GptForLove ProviderHeiner Lohaus2023-10-075-0/+6618
| |
| * ~ | g4f `v-0.1.5.4` [new gui & interference]0.1.5.4abc2023-10-061-1/+1
| | | | | | | | + version fix
| * ~ | g4f `v-0.1.5.3` [new gui & interference]0.1.5.3abc2023-10-061-1/+1
| |
| * ~ | new instructions for gui & interference + telegram channelabc2023-10-061-1/+1
| |
| * ~ | g4f `v-0.1.5.1` [*new gui & interference*]abc2023-10-061-1/+0
| |
| * ~ | g4f `v-0.1.5.1` [*new gui & interference**]abc2023-10-061-1/+1
| |
| * ~ | gpt-3.5-turbo-0613abc2023-10-061-0/+1
| |
| * ~ | new interferenceabc2023-10-061-0/+94
| |
| * ~ | new g4f GUIabc2023-10-0620-0/+1880
| |
| * Fix timeout in create_asyncHeiner Lohaus2023-10-069-30/+17
| |
| * ~ | g4f v-0.1.5.0abc2023-10-061-1/+1
| |
| * ~abc2023-10-061-2/+4
| |
| * ~ | fix gpt-3.5-turbo modelsabc2023-10-061-5/+4
| |
| * ~ | Merge pull request #991 from ostix360/mainTekky2023-10-061-1/+3
| |\ | | | | | | fix import in models
| | * import fixedostix3602023-10-051-1/+3
| | |
| * | Fix: TypeError: 'type' object is not subscriptablehs_junxiang2023-10-062-0/+8
| |/
| * ~ | g4f v-0.1.4.9 [major updates and patches]0.1.4.9abc2023-10-051-1/+1
| |
| * Merge branch 'main' into bomTekky2023-10-052-1/+52
| |\
| | * Merge pull request #1 from HexyeDEV/patch-3Hexye2023-10-041-1/+2
| | |\ | | | | | | | | Update models.py
| | | * Update models.pyHexye2023-10-041-1/+2
| | | |
| | * | Update Cromicle.pyHexye2023-10-041-2/+2
| | | |
| | * | Create Cromicle.pyHexye2023-10-041-0/+50
| | |/
| * / Add AiAsk, Chatgpt4Online, ChatgptDemoHeiner Lohaus2023-10-0533-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`abc2023-10-042-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.7abc2023-10-041-1/+1
| |
| * ~ | Merge pull request #982 from hlohaus/fetchTekky2023-10-0428-100/+103
| |\ | | | | | | Fix fetch_access_token in openai
| | * Sort providers in new dirsHeiner Lohaus2023-10-0427-64/+71
| | |
| | * Use custom user dirHeiner Lohaus2023-10-042-26/+16
| | |
| | * Fix fetch_access_token in openaiHeiner Lohaus2023-10-031-10/+16
| | |
| * | ~ | g4f v-0.1.4.6 `pip install -U g4f`0.1.4.6abc2023-10-031-1/+1
| | |
| * | ~ | g4f v-0.1.4.5 `pip install -U g4f`abc2023-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | updated providers: - g4f.Provider.Bing - g4f.Provider.OpenaiChat
| * | Merge pull request #975 from hlohaus/mmmTekky2023-10-033-57/+120
| |\| | | | | | | Bing Updates:
| | * Add streaming in openai chatHeiner Lohaus2023-10-032-24/+75
| | | | | | | | | | | | Fetch access token with chromedriver
| | * Bing Updates:Heiner Lohaus2023-10-021-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.5abc2023-10-021-1/+1
| | |
| * | Merge pull request #971 from Giancarlo-Ma/mainTekky2023-10-021-0/+1
| |\ \ | | |/ | |/| feat: allow to add custom header to deepai
| | * feat: add custom header to deepaiGiancarlo-Ma2023-10-021-0/+1
| | |
| * | Add Phind ProviderHeiner Lohaus2023-10-024-13/+108
| |/ | | | | | | | | Add release_curl in url_cffi requets Support create image response in Bing
| * ~ | g4f v-0.1.4.4abc2023-10-022-2/+3
| | | | | | | | release_curl bug
| * ~ | quick fixabc2023-10-021-1/+2
| |
| * ~ | g4f v-`0.1.4.3`0.1.4.3abc2023-10-021-1/+1
| |
| * ~ | Merge pull request #968 from st4rted/patch-1Tekky2023-10-021-2/+2
| |\ | | | | | | fix typo in payload
| | * fix typo in payloadst4rted2023-10-021-2/+2
| | |
| * | Fix: There is no current event loop in threadHeiner Lohaus2023-10-024-15/+34
| | |
| * | Remove fake_useragent moduleHeiner Lohaus2023-10-021-4/+0
| | |
| * | +Curl +Async +Stream RequestsHeiner Lohaus2023-10-029-76/+119
| | | | | | | | | | | | Update Model List
| * | Change event loop policy on windowsHeiner Lohaus2023-10-012-12/+30
| | | | | | | | | | | | Support more versions from curl_cffi
| * | Disable Wewordle ProviderHeiner Lohaus2023-10-013-12/+10
| | | | | | | | | | | | | | | Update Ylokh Provider Improve StreamRequest
| * | Disable PerplexityAi ProviderHeiner Lohaus2023-10-012-2/+2
| | |
| * | Update HuggingChat to new apiHeiner Lohaus2023-10-019-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 😉Commenter1233212023-10-011-3/+4
|/
* ~ | v-0.1.4.2 `pip install -U g4f`0.1.4.2abc2023-10-011-1/+1
|
* Merge branch 'main' of https://github.com/xtekky/gpt4freeabc2023-10-012-33/+46
|\
| * ~Tekky2023-10-011-162/+162
| |
| * some more thingsCommenter1233212023-09-291-148/+152
| |
| * Fix Aivvm and add new models in models.pyCommenter1233212023-09-292-19/+28
| |
* | ~ | pypi v-0.1.4.0 `pip install -U g4f`abc2023-10-011-1/+1
|/
* ~ | g4f v-0.1.4.0 (new version checking systemabc2023-09-271-1/+15
|
* ~ | g4f v-0.1.3.9abc2023-09-272-3/+3
|
* ~ | g4f v-0.1.3.8abc2023-09-271-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)yym686862023-09-261-1/+1
|
* ~ | v-0.1.3.7abc2023-09-261-1/+1
|
* ~ | add version (`g4f.version`)abc2023-09-261-1/+1
|
* Add ChatgptDuo and Aibn ProviderHeiner Lohaus2023-09-2610-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 addedHeiner Lohaus2023-09-263-18/+50
| | | | Reduced chunksize to better text completion
* "create_async" support for BaseProvider,Heiner Lohaus2023-09-264-2/+156
| | | | | by using ThreadPoolExecutor Default Model for Vercel
* Add Myshell ProviderHeiner Lohaus2023-09-256-22/+189
| | | | Remove auto proxy prefix
* TypeError: issubclass() arg 1 must be a classHeiner Lohaus2023-09-231-1/+2
|
* Fix: Aivvm: KeyError: ''Heiner Lohaus2023-09-232-4/+10
| | | | and TypeError: issubclass() arg 1 must be a class
* ~ | improve Vercel & g4f.Completion.createabc2023-09-231-1/+1
|
* ~ | improve Vercel & g4f.Completion.createabc2023-09-232-2/+33
| | | | | | | | | | | added `.Completion.create` class. ```py response = g4f.Completion.create( model='text-davinci-003', prompt="Hello") print(response) ```
* ~abc2023-09-231-0/+369
|
* Delete g4f/Provider/Vercel.pyTekky2023-09-231-387/+0
|
* Improve Vercel Provider:Heiner Lohaus2023-09-234-46/+63
| | | | | | | - Fix endless loop - Add proxy, async support - Add default model Fix HuggingChat Provider
* ~ | Update Vercel Providerabc2023-09-231-227/+307
|
* ~ | gpt-3.5-turbo-16k-0613abc2023-09-231-17/+17
|
* ~ | new providersabc2023-09-233-70/+65
| | | | | | Somwhat fix Aivvm provider, which looks to have a working gpt-4 kinda unstable
* ~ | Fix DeepAiabc2023-09-231-1/+1
|
* ~ | Merge pull request #924 from hlohaus/vercelTekky2023-09-2213-73/+325
|\ | | | | Fix async example in readme
| * Add RetryProviderHeiner Lohaus2023-09-214-16/+110
| |
| * Fix create_event_loop functionHeiner Lohaus2023-09-203-10/+100
| | | | | | | | Add PerplexityAi Provider
| * Improve code style in async supportHeiner Lohaus2023-09-201-10/+22
| |
| * Add "create_event_loop" helperHeiner Lohaus2023-09-201-9/+13
| |
| * Add check_running_loop requirementHeiner Lohaus2023-09-202-34/+69
| | | | | | | | | | Add create_async function in ChatCompletion Use SelectorEventLoop on windows
| * Cache "snlm0e" in BardHeiner Lohaus2023-09-208-26/+43
| | | | | | | | | | Improve error handling in ChatgptLogin Fix async example in readme
* | ~ | gpt-3.5-turbo-0613abc2023-09-221-144/+140
| |
* | add model config : gpt_35_turbo_0613tony2023-09-201-1/+1
| |
* | dd model config : gpt_35_turbo_0613tony2023-09-201-35/+35
| |
* | add model config : gpt_35_turbo_0613tony2023-09-201-3/+2
| |
* | add model config : gpt_35_turbo_0613tony2023-09-201-138/+141
| |
* | add model config : gpt_35_turbo_0613tony2023-09-201-1/+1
| |
* | add model config : gpt_35_turbo_0613tony2023-09-201-1/+4
| |
* | add model config : gpt_35_turbo_0613tony2023-09-201-0/+5
|/
* ~ | Merge pull request #914 from hlohaus/leshTekky2023-09-197-88/+149
|\ | | | | ~ | Add GptGo Provider, Fix AItianhu Provider
| * Check supports_stream in best_providers listHeiner Lohaus2023-09-182-5/+7
| |
| * Improve event loopHeiner Lohaus2023-09-182-42/+44
| |
| * Add GptGo Provider, Fix AItianhu ProviderHeiner Lohaus2023-09-183-41/+98
| |
| * ~Tekky2023-09-171-353/+0
| |
* | ~abc2023-09-191-64/+2
|/
* ~ | improved stability with gpt-3.5-turboabc2023-09-171-14/+21
| | | | improved stability with gpt-3.5-turbo
* ~abc2023-09-171-2/+1
|
* Merge branch 'main' of https://github.com/xtekky/gpt4freeabc2023-09-1728-29/+241
|\
| * Revert "Fix type hint"Tekky2023-09-1728-30/+241
| |
* | Update __init__.pyabc2023-09-171-2/+1
|/
* .Tekky2023-09-171-218/+0
|
* fix typo: provider -> ProviderMIDORIBIN2023-09-1625-25/+25
|
* fix type hintMIDORIBIN2023-09-163-130/+137
|
* Disable not working providers:Heiner Lohaus2023-09-127-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 YlokhHeiner Lohaus2023-09-127-25/+251
|
* ~ | Merge pull request #891 from Lin-jun-xiang/fix-TypeDict-errorTekky2023-09-111-2/+8
|\ | | | | Fix: `TypedDict` from `typing` error #886
| * Fix: `TypedDict` from `typing` error #886hs_junxiang2023-09-111-2/+8
| | | | | | | | Ref: https://github.com/python/typeshed/issues/3500
* | Add ChatBase ProviderHeiner Lohaus2023-09-102-0/+64
| |
* | Add CodeLinkAva Provider, Improve test_async.pyHeiner Lohaus2023-09-094-2/+67
|/
* Fix imports in BingHeiner Lohaus2023-09-051-16/+7
|
* Add to many provider async and stream support, Fix Ails, AItianhu, ChatgptAi, ChatgptLogin Provider, Add fallback cookies to Bing, Improve OpenaiChat ProviderHeiner Lohaus2023-09-0517-528/+443
|
* ~ | Merge pull request #876 from Lin-jun-xiang/join_messagesTekky2023-09-057-29/+14
|\ | | | | ~ | Following PEP8, use `.join()` to process `messages`
| * Join the messageshs_junxiang2023-09-047-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 hintsmsi-JunXiang2023-09-0335-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 readmeHeiner Lohaus2023-09-014-24/+6
|
* ~ | v-0.0.2.6abc2023-08-281-25/+25
|
* Merge branch 'main' into huggingTekky2023-08-281-28/+64
|\
| * Merge branch 'main' into patch-1Luneye2023-08-2833-969/+846
| |\
| * | Update Bing.pyLuneye2023-08-281-7/+7
| | | | | | | | | Fixed some errors in my previously precipitated commit.
| * | Update Bing.pyLuneye2023-08-281-53/+45
| | | | | | | | | | | | | | | Added support the async function Will implement proper cookie retrieval later but Bing is working for now
| * | Update Bing.py Luneye2023-08-271-46/+76
| | | | | | | | | Removed unnecessary check that could prematurely stop the AI's response while answering
* | | Add async support for H2oHeiner Lohaus2023-08-2813-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 stylingabc2023-08-2733-967/+842
|/
* ~ | v-0.0.2.50.0.2.5abc2023-08-251-1/+1
|
* Merge branch 'main' into upTekky2023-08-2511-297/+516
|\
| * ~ | Merge pull request #839Tekky2023-08-252-0/+67
| |\ | | | | | | Wuguokai
| | * Merge branch 'main' of https://github.com/bagusindrayana/gpt4free into mainBagus Indrayana2023-08-2413-179/+292
| | |\
| | * | add providerBagus Indrayana2023-08-172-1/+68
| | | |
| * | | ~ | Merge pull request #838 Tekky2023-08-251-3/+5
| |\ \ \ | | | | | | | | | | fix easychat stream : remove whitspace from data: and raise exception
| | * | | remove whitspace from data: and raise exceptionBagus Indrayana2023-08-241-3/+5
| | | |/ | | |/|
| * | | ~| Merge pull request #834Tekky2023-08-253-6/+14
| |\ \ \ | | | | | | | | | | fix Yqcloud and You prompter using only the last message
| | * | | Ails Supplementary Identification of Unusual Response Contentzengrr2023-08-251-1/+1
| | | | |
| | * | | Ails throw the contents of an error responsezengrr2023-08-231-0/+2
| | | | |
| | * | | fix Yqcloud's prompter using only the last messagezengrr2023-08-231-1/+4
| | | | |
| | * | | "You" unicode decode and fix prompt just is last messagezengrr2023-08-231-5/+8
| | |/ /
| * | | Merge pull request #833 from hlohaus/bingTekky2023-08-256-288/+430
| |\ \ \ | | |/ / | |/| | Fix bing provider
| | * | Add OpenaiChat and Hugchat ProviderHeiner Lohaus2023-08-256-79/+259
| | | | | | | | | | | | | | | | | | | | | | | | Add tests for providers with auth Improve async support / 2x faster Shared get_cookies by domain function
| | * | Add create_async methodHeiner Lohaus2023-08-231-19/+39
| | | |
| | * | Fix bing providerHeiner Lohaus2023-08-211-261/+203
| | | |
* | | | Improve provider listHeiner Lohaus2023-08-245-11/+11
| | | |
* | | | Improve providers with testsHeiner Lohaus2023-08-226-20/+18
|/ / /
* | | ~ | Merge pull request #8290.0.2.4Tekky2023-08-221-8/+9
|\ \ \ | | | | | | | | Update link for provider ChatgptLogin
| * | | change linkBagus Indrayana2023-08-201-8/+9
| |/ /
* | | ~ | Merge pull request #828Tekky2023-08-221-15/+72
|\ \ \ | | | | | | | | fix theb but need auth
| * | | fix theb but need authBagus Indrayana2023-08-201-15/+72
| |/ /
* | | ~ | Merge pull request #827Tekky2023-08-221-9/+30
|\ \ \ | | | | | | | | update header & response easychat
| * | | update header & response easychatBagus Indrayana2023-08-201-9/+30
| |/ /
* | | fix Equing response error with no streamzengrr2023-08-221-0/+3
| | |
* | | set encoding and temperaturezengrr2023-08-223-5/+10
|/ /
* | ~ Merge pull request #816Tekky2023-08-204-74/+101
|\ \ | | | | | | add V50 Provider & refactor Raycast (need testing with auth)
| * | another mergeBagus Indrayana2023-08-175-4/+165
| |\|
| * | refactor V50 and RaycastBagus Indrayana2023-08-172-85/+123
| | |
| * | merge and refactorBagus Indrayana2023-08-17187-10896/+2439
| |\ \
| * | | add proxy and remove streamBagus Indrayana2023-08-171-1/+1
| | | |
| * | | add v50Bagus Indrayana2023-08-172-0/+44
| | | |
* | | | ~ | Merge pull request #808Tekky2023-08-201-69/+67
|\ \ \ \ | | | | | | | | | | Fix bard provider
| * | | | Fix bard provider, add async supportHeiner Lohaus2023-08-181-69/+67
| | |_|/ | |/| |
* | | | Update Yqcloud.pyMaxKUlish12023-08-171-0/+1
| | | | | | | | | | | | # specify the correct encoding forcibly
* | | | Update Yqcloud.pyMaxKUlish12023-08-171-1/+0
| | | |
* | | | Update Yqcloud.pyMaxKUlish12023-08-171-0/+1
|/ / / | | | | | | # specify the correct encoding forcibly
* | / ~ | major refractoring + new providers | v0.0.2.0abc2023-08-175-3/+164
| |/ |/| | | | | | | | | g4f.Provider.FastGpt & g4f.Provider.Equing gpt-3.5-turbo-0613
* | ~ | major refractoring | v0.0.2.0abc2023-08-175-12/+12
| |
* | refactor: refactor providerMIDORIBIN2023-08-14186-10894/+2492
|/
* ~ | small fixes & new pypi version | v-0.0.1.90.0.1.90.0.1.0abc2023-08-141-1/+1
|
* small fixes & new pypi versionabc2023-08-143-4/+113
|
* Merge pull request #801 from johnd0e/fix-ailsxtekky2023-08-141-1/+1
|\ | | | | Fix Ails.py
| * Fix Ails.pyjohnd0e2023-08-141-1/+1
| | | | | | Fix arguments order
* | Merge pull request #794 from ye4241/mainxtekky2023-08-142-0/+51
|\ \ | | | | | | Add Raycast Provider
| * | Add Raycast Providerye42412023-08-092-0/+51
| |/
* | Update EasyChat.pyomidima2023-08-121-10/+9
| | | | | | Resolve review comments.
* | Update EasyChat.pyomidima2023-08-111-1/+8
| | | | | | update active servers
* | Update EasyChat.pyomidima2023-08-081-16/+17
|/ | | Change model address and add proxy & session for pass cloudflare auth on requests.
* Merge pull request #693 from ramonvc/mainxtekky2023-08-071-12/+13
|\ | | | | Fix: There is no current event loop in thread.
| * Fix: There is no current event loop in thread.Ramon Victor Cardoso2023-06-271-12/+13
| |
* | Merge pull request #790 from VastV2/Ails-Updatextekky2023-08-071-3/+5
|\ \ | | | | | | Update Ails.py
| * | Update Ails.pyVastV22023-08-051-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-1xtekky2023-08-071-26/+52
|\ \ \ | | | | | | | | Update DeepAi.py
| * | | Update DeepAi.pyomidima2023-08-051-26/+52
| |/ /
* | | Merge pull request #784 from kggn/mainxtekky2023-08-072-0/+43
|\ \ \ | | | | | | | | Add opchatgpts.net support
| * | | Update __init__.pykggn2023-08-011-1/+1
| | | |
| * | | Update __init__.pykggn2023-08-011-0/+1
| | | |
| * | | Create opchatgpts.pykggn2023-08-011-0/+42
| |/ /
* | | Merge pull request #772 from MIDORIBIN/refactor-modelsxtekky2023-08-072-231/+243
|\ \ \ | |/ / |/| | refactor models file
| * | refactor: refactor modelsMIDORIBIN2023-07-252-231/+243
| | |
* | | Update Vercel.pyabc2023-07-241-109/+8
|/ /
* | Use the temperature parametergrandsonneo@gmail.com2023-07-226-13/+13
| |
* | Merge pull request #768 from nonk123/mainxtekky2023-07-211-0/+0
|\ \ | | | | | | Fix the import errors
| * | Fix the import errorsnonk1232023-07-211-0/+0
| | |
* | | Update Provider.DfeHub to consider rate-limitnajam-tariq2023-07-191-1/+9
|/ /
* | Merge branch 'main' of https://github.com/xtekky/gpt4freeabc2023-07-181-1/+1
|\ \
| * | Rename DFEHub.py to DfeHub.pyxtekky2023-07-181-1/+1
| | |
* | | .abc2023-07-181-1/+1
|/ /
* | pypi package (pip install `g4f`)abc2023-07-171-2/+6
| |
* | minor fixesabc2023-07-1627-64/+136
| |
* | minor fixesabc2023-07-164-5/+4
| | | | | | | | ails, chatgptai ...
* | refactor/move provider from testing folderBagus Indrayana2023-07-125-0/+364
| |
* | Add files via uploadAlephZero2552023-07-101-105/+93
| | | | | | Fix empty H2o output
* | some more providersnajam-tariq2023-07-055-1/+169
| |
* | fix subDomain of LockChatLê Anh Tuấn2023-06-291-2/+2
|/
* gpt4free v2, first releasev2t.me/xtekky2023-06-24151-0/+10302