summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/helper.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix unittests (#1472)H Lohaus2024-01-141-10/+4
| | | | | | | | | * Fix unittests * Fix missing distutils, install setuptools * Fix version not found * Remove deprecation in get_event_loop
* Refactor code with AIHeiner Lohaus2024-01-141-60/+83
| | | | | | | Add doctypes to many functions Add file upload for text files Add alternative url to FreeChatgpt Add webp to allowed image types
* Add support for all modelsHeiner Lohaus2024-01-011-3/+3
| | | | | | | | | 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-011-21/+17
|
* Add selenium to dockerfileHeiner Lohaus2023-12-061-2/+7
| | | | | | Load model and provider list in gui Remove needs_auth in HuggingChat Add default model and login url in gui
* Add webdriver moduleHeiner Lohaus2023-11-201-83/+1
|
* Add Response Handler to OpenaiChatHeiner Lohaus2023-11-191-0/+52
| | | | | | Update Providers with WebDriver Add WebDriverSession helper Use native streaming in curl_cffi
* Add AiChatOnline, ChatgptDemoAi, ChatgptNext ProvidersHeiner Lohaus2023-11-181-8/+18
| | | | | | Add OnlineGpt and TalkAi Provider Add get_random_string and get_random_hex helper Remove funcaptcha package
* Remove virtualdisplay and add headless modeHeiner Lohaus2023-11-171-19/+3
|
* Add Poe Provider, Update AItianhuSpace PorviderHeiner Lohaus2023-11-171-5/+5
|
* Update helper.pyH Lohaus2023-11-161-8/+8
|
* Update helper.pyH Lohaus2023-11-161-0/+1
|
* Update helper.pyH Lohaus2023-11-161-1/+6
|
* Fix Phind and PerplexityAi - GPT-4 ProvidersHeiner Lohaus2023-11-161-8/+49
| | | | | | | Fix MyShell Provider Refactor Provider __init__ Add ChatAnywhere Provider Update models list
* 'Refactored by Sourcery' (#1125)ⲘrṨhส∂ow2023-10-231-12/+10
| | | Co-authored-by: Sourcery AI <>
* Debug logging supportHeiner Lohaus2023-10-221-8/+11
| | | | Async browse access token
* Improve get_cookies helperHeiner Lohaus2023-10-221-9/+14
|
* ~ | g4f `v-0.1.7.2`abc2023-10-211-12/+44
| | | | patch / unpatch providers
* Some small fixesHeiner Lohaus2023-10-101-2/+2
|
* Improve code with aiHeiner Lohaus2023-10-071-9/+16
|
* Use custom user dirHeiner Lohaus2023-10-041-18/+5
|
* Add streaming in openai chatHeiner Lohaus2023-10-031-1/+25
| | | | Fetch access token with chromedriver
* Fix: There is no current event loop in threadHeiner Lohaus2023-10-021-1/+5
|
* Change event loop policy on windowsHeiner Lohaus2023-10-011-2/+9
| | | | Support more versions from curl_cffi
* Update HuggingChat to new apiHeiner Lohaus2023-10-011-8/+2
| | | | | | | | Impersonate Aivvm Provider Add ChatForAi and FreeGpt Provider Update AItianhuSpace Provider Improve StreamRequest Support Update get_event_loop Helper
* Add ChatgptDuo and Aibn ProviderHeiner Lohaus2023-09-261-0/+54
Add support for "nest_asyncio", Reuse event_loops with event_loop_policy Support for "create_async" with synchron provider