summaryrefslogtreecommitdiffstats
path: root/g4f/providers/base_provider.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-04-21Add image model listHeiner Lohaus1-2/+2
2024-04-18Add Ecosia Provider, Add OpenaiAccount aliasHeiner Lohaus1-3/+5
Use AsyncClient in API, add web_search parameter in API Improve error messages in Openai
2024-04-13Update event loop on windows only for old curl_cffiHeiner Lohaus1-2/+7
2024-04-10Some small fixesHeiner Lohaus1-1/+4
2024-04-06Fix unittestsHeiner Lohaus1-2/+2
2024-04-06Add Groq and Openai interfaces, Add integration testsHeiner Lohaus1-18/+19
2024-03-16Fix GigaChat exceptions, Raise missing browser errorHeiner Lohaus1-1/+1
2024-03-15Add Pyinstaller support, Use curl_cffi in You providerHeiner Lohaus1-7/+9
2024-03-11Fix HuggingChat and PerplexityLabs and add HuggingFace providerHeiner Lohaus1-1/+1
Add more models and image generation in You provider Use You as second default image provider
2024-02-28Add websocket support in OpenaiChatHeiner Lohaus1-1/+1
2024-02-22Move some modules, create providers dirHeiner Lohaus1-2/+1
Set min version for duckduckgo Make duckduckgo search async Remove get_lastet_version
2024-02-14Add unitests for the clientHeiner Lohaus1-9/+14
Fix: async generator ignored GeneratorExit Fix: ResourceWarning: unclosed event loop
2024-01-26Fix: ChromeDriver only supports characters in the BMPHeiner Lohaus1-2/+4
Add set_cookies helper, Show last used model
2024-01-26New minimum requirements (#1515)0.2.0.6H Lohaus1-0/+1
* New minimum requirements * Add ConversationStyleOptionSets to Bing * Add image.ImageRequest * Improve python version support * Improve unittests
2024-01-23Add ProviderModelMixin for model selectionHeiner Lohaus1-2/+21
2024-01-21Improve testsHeiner Lohaus1-18/+23
2024-01-20Remove usage of get_event_loop helperHeiner Lohaus1-9/+21
2024-01-14Change doctypes style to GoogleHeiner Lohaus1-0/+71
Fix typo in latest_version Fix Phind Provider Add unittest worklow and main tests
2024-01-14Refactor code with AIHeiner Lohaus1-65/+62
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-4/+3
Add image upload to OpenaiChat Add image response to OpenaiChat Improve ChatGPT Plus Support Remove unused requirements
2024-01-01Add support for all modelsHeiner Lohaus1-27/+21
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
2024-01-01Patch event loop on win, Check event loop closedHeiner Lohaus1-0/+7
2023-11-24~abc1-2/+1
fix DeepInfra
2023-11-20~ | g4f v-0.1.8.90.1.8.9abc1-6/+10
2023-11-20Add auto support params methodHeiner Lohaus1-8/+35
2023-10-24[suggestion] Adding new parameter to check if provider supports message historyLuneye1-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.
2023-10-10Some small fixesHeiner Lohaus1-9/+9
2023-10-07Improve code by AIHeiner Lohaus1-9/+11
2023-09-26Add ChatgptDuo and Aibn ProviderHeiner Lohaus1-73/+29
Add support for "nest_asyncio", Reuse event_loops with event_loop_policy Support for "create_async" with synchron provider
2023-09-26AItianhuSpace Provider with GPT 4 addedHeiner Lohaus1-2/+29
Reduced chunksize to better text completion
2023-09-23Improve Vercel Provider:Heiner Lohaus1-2/+1
- Fix endless loop - Add proxy, async support - Add default model Fix HuggingChat Provider
2023-09-20Fix create_event_loop functionHeiner Lohaus1-10/+11
Add PerplexityAi Provider
2023-09-20Improve code style in async supportHeiner Lohaus1-10/+22
2023-09-20Add "create_event_loop" helperHeiner Lohaus1-9/+13
2023-09-20Add check_running_loop requirementHeiner Lohaus1-5/+18
Add create_async function in ChatCompletion Use SelectorEventLoop on windows
2023-09-18Improve event loopHeiner Lohaus1-41/+40
2023-09-17Revert "Fix type hint"Tekky1-1/+1
2023-09-16fix typo: provider -> ProviderMIDORIBIN1-1/+1
2023-09-05Add to many provider async and stream support, Fix Ails, AItianhu, ChatgptAi, ChatgptLogin Provider, Add fallback cookies to Bing, Improve OpenaiChat ProviderHeiner Lohaus1-4/+7
2023-09-03type hintsmsi-JunXiang1-3/+5
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-28Add async support for H2oHeiner Lohaus1-13/+23
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
2023-08-27~ | code stylingabc1-22/+18
2023-08-25Add OpenaiChat and Hugchat ProviderHeiner Lohaus1-2/+83
Add tests for providers with auth Improve async support / 2x faster Shared get_cookies by domain function
2023-08-17 ~ | major refractoring + new providers | v0.0.2.0abc1-1/+1
g4f.Provider.FastGpt & g4f.Provider.Equing gpt-3.5-turbo-0613
2023-08-14refactor: refactor providerMIDORIBIN1-0/+33