summaryrefslogtreecommitdiffstats
path: root/g4f/__init__.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-02-09Update provider and model list (#1568)H Lohaus1-1/+1
Move bing.create_images and cookies helper Disable some providers
2024-02-09Add example for Image Upload & GenerationHeiner Lohaus1-1/+1
2024-02-08Add Gemini Provider with image upload and generationHeiner Lohaus1-6/+7
2024-01-26Fix: ChromeDriver only supports characters in the BMPHeiner Lohaus1-2/+10
Add set_cookies helper, Show last used model
2024-01-23Fix: Model sometimes not converted #1507Heiner Lohaus1-4/+5
2024-01-14Refactor code with AIHeiner Lohaus1-3/+88
Add doctypes to many functions Add file upload for text files Add alternative url to FreeChatgpt Add webp to allowed image types
2024-01-13Support upload image in guiHeiner Lohaus1-1/+1
Add image upload to OpenaiChat Add image response to OpenaiChat Improve ChatGPT Plus Support Remove unused requirements
2024-01-10Add create images to Bing (#1426)H Lohaus1-0/+8
Add create images from Bing Add FreeChatgpt Provider Fix Bard Provider
2024-01-01Fix permissions for chromedriverHeiner Lohaus1-1/+1
Fix NoVNC server access Remove java from build
2024-01-01Add support for all modelsHeiner Lohaus1-35/+52
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
2023-12-11Add error classesHeiner Lohaus1-56/+29
Move version check to debug
2023-12-10Add G4F_PROXY environmentHeiner Lohaus1-1/+5
Add regenerate button in gui
2023-12-07Add websearch to gui (#1314)H Lohaus1-19/+38
* 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
2023-12-06~ | g4f v-0.1.9.20.1.9.2abc1-1/+1
2023-12-06Add selenium to dockerfileHeiner Lohaus1-6/+9
Load model and provider list in gui Remove needs_auth in HuggingChat Add default model and login url in gui
2023-12-02~ | g4f `v-0.1.9.1`0.1.9.1abc1-1/+1
2023-12-01Added new provider PI (Hacky way to use) (#1291)madonchik1231-1/+1
* 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
2023-11-24~ | g4f `v-0.1.9.0`abc1-1/+1
2023-11-20~ | g4f v-0.1.8.90.1.8.9abc1-1/+1
2023-11-20Support stream in create_asyncHeiner Lohaus1-7/+9
2023-11-20~ | g4f `v-0.1.8.7`0.1.8.7abc1-1/+1
2023-11-19~ | g4f v-0.1.8.6abc1-1/+1
2023-11-18~ | g4f `v-0.1.8.5`abc1-2/+1
2023-11-16~ | g4f `v-0.1.8.4`0.1.8.4abc1-1/+1
2023-11-16~abc1-1/+1
2023-11-13Check_pypi_version now returns valueEikosa1-0/+2
2023-11-12~ | g4f `v-0.1.8.2`0.1.8.2abc1-1/+1
2023-11-07~ | g4f `v-0.1.8.1`0.1.8.1abc1-1/+1
2023-11-05~ | g4f `v-0.1.8.0`abc1-1/+1
2023-11-04Update __init__.pyThatLukinhasGuy1-1/+1
2023-11-04Update __init__.pyThatLukinhasGuy1-1/+1
2023-11-04Update __init__.py (#1)ThatLukinhasGuy1-2/+2
2023-10-31~ | g4f `v-0.1.7.9`0.1.7.9xtekky1-1/+1
2023-10-27~ | g4f `v-0.1.7.8`abc1-1/+1
2023-10-24~ | g4f `v-0.1.7.7`0.1.7.7abc1-1/+1
2023-10-23~ | g4f `v-0.1.7.6`0.1.7.6abc1-1/+1
2023-10-23'Refactored by Sourcery' (#1125)ⲘrṨhส∂ow1-1/+1
Co-authored-by: Sourcery AI <>
2023-10-23~ | g4f `v-0.1.7.5`abc1-2/+2
2023-10-22Debug logging supportHeiner Lohaus1-3/+2
Async browse access token
2023-10-22~ | g4f `v-0.1.7.4`abc1-1/+1
2023-10-21 ~ | g4f `v-0.1.7.2`0.1.7.2abc1-1/+1
fix tiktok not found error
2023-10-21~ | g4f `v-0.1.7.2`abc1-5/+7
patch / unpatch providers
2023-10-20~ | g4f v-0.1.7.0abc1-1/+1
quick fix
2023-10-20~ | 0.1.7.0abc1-1/+1
2023-10-20~ | g4f v-0.1.6.9abc1-1/+1
2023-10-19~ | g4f `v-0.1.6.8`0.1.6.8abc1-1/+1
some quick fixes
2023-10-19~ | g4f v-0.1.6.70.1.6.7abc1-1/+1
2023-10-19~abc1-24/+17
automatic models fetching in GUI.
2023-10-19Fix: debug.logging not work in retry providerhs_junxiang1-0/+1
2023-10-16~ | g4f `v-0.1.6.6`0.1.6.6abc1-1/+1
2023-10-16~ | g4f `v-0.1.6.5`abc1-1/+1
2023-10-14~ | g4f `v-0.1.6.4`abc1-1/+1
2023-10-13g4f `v-0.1.6.3`abc1-1/+1
2023-10-13feat: ignore providers(#1014)hs_junxiang1-8/+19
2023-10-12~ | g4f `v-0.1.6.2`0.6.1.2abc1-12/+8
2023-10-12~abc1-1/+1
2023-10-11~ | g4f v-0.1.6.1abc1-1/+1
some bug fixes
2023-10-10~ | g4f `v-0.1.5.9`(remove deepai.org)abc1-1/+1
2023-10-10~ | g4f `v-0.1.5.8`0.1.5.8abc1-1/+1
2023-10-10~ | g4f `v-0.1.5.7` [Set Provider in GUI] + Provider Proxyabc1-1/+1
2023-10-09Add proxy support to all providersHeiner Lohaus1-11/+18
2023-10-08~ | g4f `v-0.1.5.6`abc1-13/+15
gui & interference can now be run with: python -m g4f.gui.run and python -m g4f.interference.run
2023-10-07~ | `v-0.1.5.5`abc1-1/+0
Aiivm working again
2023-10-07~ | g4f `v-0.1.5.5`0.1.5.5abc1-1/+1
2023-10-07 ~ | g4f `v-0.1.5.4` [new gui & interference]abc1-4/+0
2023-10-07~abc1-0/+4
2023-10-07Improve code by AIHeiner Lohaus1-36/+36
2023-10-07Add GptGod ProviderHeiner Lohaus1-1/+0
Remove timeout from aiohttp providers Disable Opchatgpts and ChatgptLogin provider
2023-10-06 ~ | g4f `v-0.1.5.4` [new gui & interference]0.1.5.4abc1-1/+1
+ version fix
2023-10-06~ | g4f `v-0.1.5.3` [new gui & interference]0.1.5.3abc1-1/+1
2023-10-06 ~ | new instructions for gui & interference + telegram channelabc1-1/+1
2023-10-06 ~ | g4f `v-0.1.5.1` [*new gui & interference*]abc1-1/+0
2023-10-06~ | g4f `v-0.1.5.1` [*new gui & interference**]abc1-1/+1
2023-10-06~ | g4f v-0.1.5.0abc1-1/+1
2023-10-05~ | g4f v-0.1.4.9 [major updates and patches]0.1.4.9abc1-1/+1
2023-10-05Add AiAsk, Chatgpt4Online, ChatgptDemoHeiner Lohaus1-2/+5
and ChatgptX Provider Fix Bing, Liaobots and ChatgptAi Provider Add "gpt_35_long" model and custom timeout
2023-10-04~ | g4f v-0.1.4.8 - Fixed `g4f.Provider.Bing`abc1-1/+1
implemented new "X-Sydney-EncryptedConversationSignature" found in headers from "turing/conversation/create"
2023-10-04~ | g4f v-0.1.4.7 `pip install -U g4f`0.1.4.7abc1-1/+1
2023-10-03 ~ | g4f v-0.1.4.6 `pip install -U g4f`0.1.4.6abc1-1/+1
2023-10-03 ~ | g4f v-0.1.4.5 `pip install -U g4f`abc1-1/+1
updated providers: - g4f.Provider.Bing - g4f.Provider.OpenaiChat
2023-10-02~ | g4f v-0.1.4.5 `pip install -U g4f`0.1.4.5abc1-1/+1
2023-10-02~ | g4f v-0.1.4.4abc1-1/+1
release_curl bug
2023-10-02~ | g4f v-`0.1.4.3`0.1.4.3abc1-1/+1
2023-10-01~ | v-0.1.4.2 `pip install -U g4f`0.1.4.2abc1-1/+1
2023-10-01~ | pypi v-0.1.4.0 `pip install -U g4f`abc1-1/+1
2023-09-27~ | g4f v-0.1.4.0 (new version checking systemabc1-1/+15
2023-09-27~ | g4f v-0.1.3.9abc1-1/+1
2023-09-27~ | g4f v-0.1.3.8abc1-1/+1
2023-09-26~ | v-0.1.3.7abc1-1/+1
2023-09-26~ | add version (`g4f.version`)abc1-1/+1
2023-09-26Add ChatgptDuo and Aibn ProviderHeiner Lohaus1-5/+0
Add support for "nest_asyncio", Reuse event_loops with event_loop_policy Support for "create_async" with synchron provider
2023-09-23TypeError: issubclass() arg 1 must be a classHeiner Lohaus1-1/+2
2023-09-23~ | improve Vercel & g4f.Completion.createabc1-0/+27
added `.Completion.create` class. ```py response = g4f.Completion.create( model='text-davinci-003', prompt="Hello") print(response) ```
2023-09-23Improve Vercel Provider:Heiner Lohaus1-1/+1
- Fix endless loop - Add proxy, async support - Add default model Fix HuggingChat Provider
2023-09-21Add RetryProviderHeiner Lohaus1-8/+2
2023-09-20Add check_running_loop requirementHeiner Lohaus1-29/+51
Add create_async function in ChatCompletion Use SelectorEventLoop on windows
2023-09-18Check supports_stream in best_providers listHeiner Lohaus1-3/+6
2023-09-17~abc1-2/+1
2023-09-17Update __init__.pyabc1-2/+1
2023-09-17Revert "Fix type hint"Tekky1-2/+2
2023-09-16fix type hintMIDORIBIN1-2/+2
2023-09-12Disable not working providers:Heiner Lohaus1-2/+11
EasyChat, Equing, GetGpt, Liaobots and Wuguokai No and random best provider for a model Update providers in Readme
2023-09-03type hintsmsi-JunXiang1-0/+1
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
2023-08-27~ | code stylingabc1-20/+17
2023-08-17~ | major refractoring | v0.0.2.0abc1-6/+6
2023-08-14refactor: refactor providerMIDORIBIN1-37/+40
2023-08-14~ | small fixes & new pypi version | v-0.0.1.90.0.1.90.0.1.0abc1-1/+1
2023-08-14small fixes & new pypi versionabc1-1/+1
2023-07-25refactor: refactor modelsMIDORIBIN1-3/+3
2023-07-16minor fixesabc1-1/+4
2023-06-24gpt4free v2, first releasev2t.me/xtekky1-0/+39