summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/base_provider.py (unfollow)
Commit message (Collapse)AuthorFilesLines
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