Commit Graph

64 Commits

Author SHA1 Message Date
Heiner Lohaus
854dc6c90f Fix remove NoowAi, Fix download dir in docker 2023-12-16 20:17:02 +01:00
H Lohaus
d7b5ba2cbf
Remove VoiGpt 2023-12-14 18:49:05 +01:00
Heiner Lohaus
62397ad112 Remove needs_auth, add proxy support in VoiGpt 2023-12-10 23:43:48 +01:00
Heiner Lohaus
e74af803e7 Update pi provider 2023-12-01 23:56:12 +01:00
madonchik123
b0276f6c9e
Added new provider PI (Hacky way to use) (#1291)
* 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
2023-12-01 23:11:52 +01:00
Heiner Lohaus
ebb6427100 Add GptTalkRu Provider 2023-11-22 21:21:29 +01:00
Heiner Lohaus
ea3cb0d5e9 Fix Phind and GptGo Provider 2023-11-22 15:22:36 +01:00
Heiner Lohaus
cadc507fad Add AiChatOnline, ChatgptDemoAi, ChatgptNext Providers
Add OnlineGpt and TalkAi Provider
Add get_random_string and get_random_hex helper
Remove funcaptcha package
2023-11-18 04:38:31 +01:00
Heiner Lohaus
0c4e5e5127 Fix Phind and PerplexityAi - GPT-4 Providers
Fix MyShell Provider
Refactor Provider __init__
Add ChatAnywhere Provider
Update models list
2023-11-16 16:56:23 +01:00
Heiner Lohaus
2f64bc99ef Fix Chatgpt4Online Provider 2023-11-13 18:58:52 +01:00
Heiner Lohaus
2fb932220d Add Berlin and Koala Provider 2023-11-12 18:03:04 +01:00
Heiner Lohaus
79cf039a88 Update config supports_message_history 2023-10-27 22:59:14 +02:00
Heiner Lohaus
0d1ae405cc Add Llama2 Providers / Models 2023-10-26 21:43:20 +02:00
Heiner Lohaus
63cda8d779 Fix increase timeout
Add Hashnode Provider
Fix Yqcloud Provider
2023-10-22 14:22:33 +02:00
Heiner Lohaus
13e89d6ab9 Fix MyShell Provider 2023-10-22 08:57:31 +02:00
Heiner Lohaus
a3af9fac3e Add FakeGpt Provider
Update providers in models
2023-10-22 01:22:25 +02:00
abc
5b240665fb ~ | add g4f.Provider.GeekGpt 2023-10-16 14:34:00 +01:00
Heiner Lohaus
c1adfbee8e Add Llama2 and NoowAi Provider 2023-10-15 19:10:25 +02:00
Tekky
8bdbb9e9cd
~ | Merge pull request #1068 from hlohaus/fre
Fix Opchatgpts and ChatForAi Provider
2023-10-14 14:36:47 +01:00
abc
1f8293250e ~
fix chatbase (bad) and remove from auto selection
2023-10-14 14:36:24 +01:00
Heiner Lohaus
13ffdcd61a Fix Opchatgpts and ChatForAi Provider
Deprecate Vitalentum and Aivvm Provider
2023-10-14 00:31:48 +02:00
Heiner Lohaus
5048f01e26 Deprecate ChatForAi 2023-10-12 21:02:51 +02:00
Heiner Lohaus
1e8bbaaaa9 Add ChatgptLogin, ChatgptFree and GptChatly Provider 2023-10-12 20:28:54 +02:00
abc
c9c573a6e6 ~ | remove DeepAi 2023-10-10 22:04:42 +01:00
abc
1883d55147 ~
Conversion from str Provider to g4f.Provider
2023-10-09 23:45:29 +01:00
Heiner Lohaus
4a9d7714ad Add Cromicle to provider list 2023-10-08 11:39:19 +02:00
abc
92e1ec6f4f ~ | v-0.1.5.5
Aiivm working again
2023-10-07 21:21:34 +01:00
Heiner Lohaus
3430b04f87 Remove Aivvm from working providers 2023-10-07 19:10:26 +02:00
Heiner Lohaus
4fa6e9c0f5 Add GptGod Provider
Remove timeout from aiohttp providers
Disable Opchatgpts and ChatgptLogin provider
2023-10-07 09:02:48 +02:00
Heiner Lohaus
1238d9a638 Add GPTalk and GptForLove Provider 2023-10-07 04:03:36 +02:00
Heiner Lohaus
88d2cbff09 Add AiAsk, Chatgpt4Online, ChatgptDemo
and ChatgptX Provider
Fix Bing, Liaobots and ChatgptAi Provider
Add "gpt_35_long" model and custom timeout
2023-10-05 05:13:37 +02:00
Heiner Lohaus
6a61cf8116 Sort providers in new dirs 2023-10-04 07:20:51 +02:00
Heiner Lohaus
ff4d9ae584 Add Phind Provider
Add release_curl in url_cffi requets
Support create image response in Bing
2023-10-02 17:01:15 +02:00
Heiner Lohaus
98895e5b09 Update HuggingChat to new api
Impersonate Aivvm Provider
Add ChatForAi and FreeGpt Provider
Update AItianhuSpace Provider
Improve StreamRequest Support
Update get_event_loop Helper
2023-10-01 06:38:11 +02:00
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
2023-09-26 10:03:37 +02:00
Heiner Lohaus
348670fe35 "create_async" support for BaseProvider,
by using ThreadPoolExecutor
Default Model for Vercel
2023-09-26 00:52:29 +02:00
Heiner Lohaus
f1b6880f7e Add Myshell Provider
Remove auto proxy prefix
2023-09-25 15:52:19 +02:00
Heiner Lohaus
e9f96ced9c Add RetryProvider 2023-09-21 20:10:59 +02:00
Heiner Lohaus
951a1332a7 Fix create_event_loop function
Add PerplexityAi Provider
2023-09-20 23:06:52 +02:00
Heiner Lohaus
e8d7bcd045 Add GptGo Provider, Fix AItianhu Provider 2023-09-18 03:21:12 +02:00
Heiner Lohaus
d6382a2145 Add new providers: Aivvm, Vitalentum and Ylokh 2023-09-12 00:47:03 +02:00
Heiner Lohaus
c2741a9a86 Add ChatBase Provider 2023-09-10 19:06:46 +02:00
Heiner Lohaus
ddb6fa30d9 Add CodeLinkAva Provider, Improve test_async.py 2023-09-09 23:07:00 +02:00
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
2023-09-03 16:26:26 +08:00
Heiner Lohaus
3e6b1d6bef Set working=True in Liaobots, Fix bing provider, Update readme 2023-09-01 23:39:57 +02:00
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
2023-08-28 01:43:45 +02:00
abc
efd75a11b8 ~ | code styling 2023-08-27 17:37:44 +02:00
Tekky
af7defe2e4
~ | Merge pull request #839
Wuguokai
2023-08-25 17:19:24 +01:00
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
2023-08-25 06:41:32 +02:00
Bagus Indrayana
c9d2f06090 Merge branch 'main' of https://github.com/bagusindrayana/gpt4free into main 2023-08-24 18:23:55 +08:00