Commit Graph

26 Commits (ea8d6b847a0e656cc5583948c5745592adda7103)

Author SHA1 Message Date
Heiner Lohaus ea8d6b847a Support upload image in gui
Add image upload to OpenaiChat
Add image response to OpenaiChat
Improve ChatGPT Plus Support
Remove unused requirements
6 months ago
Heiner Lohaus c617b18d12 Add support for all models
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
6 months ago
Heiner Lohaus ebc522150e Patch event loop on win, Check event loop closed 6 months ago
abc 10a3832458 ~
fix DeepInfra
7 months ago
abc 063696630c ~ | g4f v-0.1.8.9 8 months ago
Heiner Lohaus 702837a33a Add auto support params method 8 months ago
Luneye 63ae5bb2cd
[suggestion] Adding new parameter to check if provider supports message history
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.
8 months ago
Heiner Lohaus 53192b86b1 Some small fixes 9 months ago
Heiner Lohaus f7bb30036e Improve code by AI 9 months ago
Heiner Lohaus 3c2755bc72 Add ChatgptDuo and Aibn Provider
Add support for "nest_asyncio",
Reuse event_loops with event_loop_policy
Support for  "create_async" with synchron provider
9 months ago
Heiner Lohaus 72c3ff7a25 AItianhuSpace Provider with GPT 4 added
Reduced chunksize to better text completion
9 months ago
Heiner Lohaus a3ecabb00e Improve Vercel Provider:
- Fix endless loop
 - Add proxy, async support
 - Add default model
 Fix HuggingChat Provider
10 months ago
Heiner Lohaus 951a1332a7 Fix create_event_loop function
Add PerplexityAi Provider
10 months ago
Heiner Lohaus f90741c10b Improve code style in async support 10 months ago
Heiner Lohaus 587f4ad2c9 Add "create_event_loop" helper 10 months ago
Heiner Lohaus 55577031d5 Add check_running_loop requirement
Add create_async function in ChatCompletion
Use SelectorEventLoop on windows
10 months ago
Heiner Lohaus 3b8dfff974 Improve event loop 10 months ago
Tekky 78bfbe717d
Revert "Fix type hint" 10 months ago
MIDORIBIN c6f2277906 fix typo: provider -> Provider 10 months ago
Heiner Lohaus 5ca47b44b2 Add to many provider async and stream support, Fix Ails, AItianhu, ChatgptAi, ChatgptLogin Provider, Add fallback cookies to Bing, Improve OpenaiChat Provider 10 months ago
msi-JunXiang 901595b10f type hints
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
10 months ago
Heiner Lohaus 7294abc890 Add async support for H2o
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
10 months ago
abc efd75a11b8 ~ | code styling 10 months ago
Heiner Lohaus 126496d3ca Add OpenaiChat and Hugchat Provider
Add tests for providers with auth
Improve async support / 2x faster
Shared get_cookies by domain  function
10 months ago
abc 882910c1d5 ~ | major refractoring + new providers | v0.0.2.0
g4f.Provider.FastGpt & g4f.Provider.Equing

gpt-3.5-turbo-0613
11 months ago
MIDORIBIN f6ef3cb223 refactor: refactor provider 11 months ago