summaryrefslogtreecommitdiffstats
path: root/g4f/__init__.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* implement direct import of `Client` without using `g4f.client`Tekky2024-10-301-0/+1
|
* fix(g4f/__init__.py): ensure consistent parameter usagekqlio672024-10-221-62/+4
|
* Add local models to gui, Fix You Provider, add AsyncClientHeiner Lohaus2024-04-071-114/+12
|
* Fix Provider not found errorHeiner Lohaus2024-03-161-1/+1
|
* Filter not working provider from RetryProviderHeiner Lohaus2024-03-141-3/+6
|
* Update some providersHeiner Lohaus2024-02-271-2/+2
| | | | | | | Improve read access_token in OpenaiChat Add IterProvider Add system message support in FlowGpt Filter none values in new Client
* Add help me coding guideHeiner Lohaus2024-02-241-1/+1
| | | | Add MissingAuthError in GeminiPro
* Set default values for generation configHeiner Lohaus2024-02-231-1/+7
| | | | Set a list of providers
* Move some modules, create providers dirHeiner Lohaus2024-02-221-2/+2
| | | | | | Set min version for duckduckgo Make duckduckgo search async Remove get_lastet_version
* Add new Client API with DocsHeiner Lohaus2024-02-121-1/+2
| | | | | | | 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.
* Update provider and model list (#1568)H Lohaus2024-02-091-1/+1
| | | | Move bing.create_images and cookies helper Disable some providers
* Add example for Image Upload & GenerationHeiner Lohaus2024-02-091-1/+1
|
* Add Gemini Provider with image upload and generationHeiner Lohaus2024-02-081-6/+7
|
* Fix: ChromeDriver only supports characters in the BMPHeiner Lohaus2024-01-261-2/+10
| | | | Add set_cookies helper, Show last used model
* Fix: Model sometimes not converted #1507Heiner Lohaus2024-01-231-4/+5
|
* Refactor code with AIHeiner Lohaus2024-01-141-3/+88
| | | | | | | Add doctypes to many functions Add file upload for text files Add alternative url to FreeChatgpt Add webp to allowed image types
* Support upload image in guiHeiner Lohaus2024-01-131-1/+1
| | | | | | | Add image upload to OpenaiChat Add image response to OpenaiChat Improve ChatGPT Plus Support Remove unused requirements
* Add create images to Bing (#1426)H Lohaus2024-01-101-0/+8
| | | | | Add create images from Bing Add FreeChatgpt Provider Fix Bard Provider
* Fix permissions for chromedriverHeiner Lohaus2024-01-011-1/+1
| | | | | Fix NoVNC server access Remove java from build
* Add support for all modelsHeiner Lohaus2024-01-011-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
* Add error classesHeiner Lohaus2023-12-111-56/+29
| | | | Move version check to debug
* Add G4F_PROXY environmentHeiner Lohaus2023-12-101-1/+5
| | | | Add regenerate button in gui
* Add websearch to gui (#1314)H Lohaus2023-12-071-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
* ~ | g4f v-0.1.9.20.1.9.2abc2023-12-061-1/+1
|
* Merge pull request #1309 from hlohaus/goH Lohaus2023-12-061-6/+9
|\ | | | | Add selenium to dockerfile
| * Add selenium to dockerfileHeiner Lohaus2023-12-061-6/+9
| | | | | | | | | | | | 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
|/
* Added new provider PI (Hacky way to use) (#1291)madonchik1232023-12-011-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
* ~ | g4f `v-0.1.9.0`abc2023-11-241-1/+1
|
* ~ | g4f v-0.1.8.90.1.8.9abc2023-11-201-1/+1
|
* Support stream in create_asyncHeiner Lohaus2023-11-201-7/+9
|
* ~ | g4f `v-0.1.8.7`0.1.8.7abc2023-11-201-1/+1
|
* ~ | g4f v-0.1.8.6abc2023-11-191-1/+1
|
* ~ | g4f `v-0.1.8.5`abc2023-11-181-2/+1
|
* ~ | g4f `v-0.1.8.4`0.1.8.4abc2023-11-161-1/+1
|
* ~abc2023-11-161-1/+1
|
* Check_pypi_version now returns valueEikosa2023-11-131-0/+2
|
* ~ | g4f `v-0.1.8.2`0.1.8.2abc2023-11-121-1/+1
|
* ~ | g4f `v-0.1.8.1`0.1.8.1abc2023-11-071-1/+1
|
* ~ | g4f `v-0.1.8.0`abc2023-11-051-1/+1
|
* Update __init__.pyThatLukinhasGuy2023-11-041-1/+1
|
* Update __init__.pyThatLukinhasGuy2023-11-041-1/+1
|
* Update __init__.py (#1)ThatLukinhasGuy2023-11-041-2/+2
|
* ~ | g4f `v-0.1.7.9`0.1.7.9xtekky2023-10-311-1/+1
|
* ~ | g4f `v-0.1.7.8`abc2023-10-271-1/+1
|
* ~ | g4f `v-0.1.7.7`0.1.7.7abc2023-10-241-1/+1
|
* ~ | g4f `v-0.1.7.6`0.1.7.6abc2023-10-231-1/+1
|
* 'Refactored by Sourcery' (#1125)ⲘrṨhส∂ow2023-10-231-1/+1
| | | Co-authored-by: Sourcery AI <>
* ~ | g4f `v-0.1.7.5`abc2023-10-231-2/+2
|
* Merge pull request #1124 from hlohaus/fakeTekky2023-10-221-3/+2
|\ | | | | Improve helper
| * Debug logging supportHeiner Lohaus2023-10-221-3/+2
| | | | | | | | Async browse access token
* | ~ | g4f `v-0.1.7.4`abc2023-10-221-1/+1
|/
* ~ | 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-211-5/+7
| | | | patch / unpatch providers
* ~ | g4f v-0.1.7.0abc2023-10-201-1/+1
| | | | quick fix
* ~ | 0.1.7.0abc2023-10-201-1/+1
|
* ~ | g4f v-0.1.6.9abc2023-10-201-1/+1
|
* ~ | g4f `v-0.1.6.8`0.1.6.8abc2023-10-191-1/+1
| | | | some quick fixes
* ~ | g4f v-0.1.6.70.1.6.7abc2023-10-191-1/+1
|
* ~abc2023-10-191-24/+17
| | | | automatic models fetching in GUI.
* Fix: debug.logging not work in retry providerhs_junxiang2023-10-191-0/+1
|
* ~ | g4f `v-0.1.6.6`0.1.6.6abc2023-10-161-1/+1
|
* ~ | g4f `v-0.1.6.5`abc2023-10-161-1/+1
|
* ~ | g4f `v-0.1.6.4`abc2023-10-141-1/+1
|
* g4f `v-0.1.6.3`abc2023-10-131-1/+1
|
* 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
|
* ~ | g4f v-0.1.6.1abc2023-10-111-1/+1
| | | | some bug fixes
* ~ | g4f `v-0.1.5.9`(remove deepai.org)abc2023-10-101-1/+1
|
* ~ | g4f `v-0.1.5.8`0.1.5.8abc2023-10-101-1/+1
|
* ~ | g4f `v-0.1.5.7` [Set Provider in GUI] + Provider Proxyabc2023-10-101-1/+1
|
* Add proxy support to all providersHeiner Lohaus2023-10-091-11/+18
|
* ~ | g4f `v-0.1.5.6`abc2023-10-081-13/+15
| | | | | | | | | | gui & interference can now be run with: python -m g4f.gui.run and python -m g4f.interference.run
* ~ | `v-0.1.5.5`abc2023-10-071-1/+0
| | | | Aiivm working again
* ~ | g4f `v-0.1.5.5`0.1.5.5abc2023-10-071-1/+1
|
* Improve code by AIHeiner Lohaus2023-10-071-36/+36
|
* Add GptGod ProviderHeiner Lohaus2023-10-071-1/+0
| | | | | Remove timeout from aiohttp providers Disable Opchatgpts and ChatgptLogin provider
* ~ | 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
|
* ~ | g4f v-0.1.5.0abc2023-10-061-1/+1
|
* ~ | g4f v-0.1.4.9 [major updates and patches]0.1.4.9abc2023-10-051-1/+1
|
* Add AiAsk, Chatgpt4Online, ChatgptDemoHeiner Lohaus2023-10-051-2/+5
| | | | | | 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-041-1/+1
| | | | 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
|
* ~ | 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
* ~ | g4f v-0.1.4.5 `pip install -U g4f`0.1.4.5abc2023-10-021-1/+1
|
* ~ | g4f v-0.1.4.4abc2023-10-021-1/+1
| | | | release_curl bug
* ~ | g4f v-`0.1.4.3`0.1.4.3abc2023-10-021-1/+1
|
* ~ | v-0.1.4.2 `pip install -U g4f`0.1.4.2abc2023-10-011-1/+1
|
* ~ | 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-271-1/+1
|
* ~ | g4f v-0.1.3.8abc2023-09-271-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-261-5/+0
| | | | | | Add support for "nest_asyncio", Reuse event_loops with event_loop_policy Support for "create_async" with synchron provider
* TypeError: issubclass() arg 1 must be a classHeiner Lohaus2023-09-231-1/+2
|
* ~ | improve Vercel & g4f.Completion.createabc2023-09-231-0/+27
| | | | | | | | | | | added `.Completion.create` class. ```py response = g4f.Completion.create( model='text-davinci-003', prompt="Hello") print(response) ```
* Improve Vercel Provider:Heiner Lohaus2023-09-231-1/+1
| | | | | | | - Fix endless loop - Add proxy, async support - Add default model Fix HuggingChat Provider
* Add RetryProviderHeiner Lohaus2023-09-211-8/+2
|
* Add check_running_loop requirementHeiner Lohaus2023-09-201-29/+51
| | | | | Add create_async function in ChatCompletion Use SelectorEventLoop on windows
* Check supports_stream in best_providers listHeiner Lohaus2023-09-181-3/+6
|
* ~abc2023-09-171-2/+1
|
* Merge branch 'main' of https://github.com/xtekky/gpt4freeabc2023-09-171-1/+2
|\
| * Revert "Fix type hint"Tekky2023-09-171-2/+2
| |
* | Update __init__.pyabc2023-09-171-2/+1
|/
* fix type hintMIDORIBIN2023-09-161-2/+2
|
* Disable not working providers:Heiner Lohaus2023-09-121-2/+11
| | | | | | EasyChat, Equing, GetGpt, Liaobots and Wuguokai No and random best provider for a model Update providers in Readme
* type hintsmsi-JunXiang2023-09-031-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
* ~ | code stylingabc2023-08-271-20/+17
|
* ~ | major refractoring | v0.0.2.0abc2023-08-171-6/+6
|
* refactor: refactor providerMIDORIBIN2023-08-141-37/+40
|
* ~ | 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-141-1/+1
|
* refactor: refactor modelsMIDORIBIN2023-07-251-3/+3
|
* minor fixesabc2023-07-161-1/+4
|
* gpt4free v2, first releasev2t.me/xtekky2023-06-241-0/+39