Commit Graph

38 Commits

Author SHA1 Message Date
Heiner Lohaus
6a61cf8116 Sort providers in new dirs 2023-10-04 07:20:51 +02:00
Heiner Lohaus
eb0e2c6a93 +Curl +Async +Stream Requests
Update Model List
2023-10-02 02:04:22 +02:00
Tekky
e465899801
~ 2023-10-01 04:27:21 +02:00
Commenter123321
6ba092469a some more things 2023-09-29 16:54:46 +02:00
Commenter123321
7181f2897b Fix Aivvm and add new models in models.py 2023-09-29 16:21:18 +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
72c3ff7a25 AItianhuSpace Provider with GPT 4 added
Reduced chunksize to better text completion
2023-09-26 01:02:02 +02:00
Heiner Lohaus
f1b6880f7e Add Myshell Provider
Remove auto proxy prefix
2023-09-25 15:52:19 +02:00
Heiner Lohaus
4edd7518de Fix: Aivvm: KeyError: ''
and TypeError: issubclass() arg 1 must be a class
2023-09-23 15:35:17 +02:00
abc
9ffed2fc33 ~ | gpt-3.5-turbo-16k-0613 2023-09-23 01:31:16 +01:00
abc
42a02c3d2d ~ | new providers
Somwhat fix Aivvm provider, which looks to have a working gpt-4

kinda unstable
2023-09-23 00:44:09 +01:00
Tekky
ba287e89b5
~ | Merge pull request #924 from hlohaus/vercel
Fix async example in readme
2023-09-22 20:40:59 +01:00
abc
4d4fc98533 ~ | gpt-3.5-turbo-0613 2023-09-22 20:36:44 +01:00
Heiner Lohaus
e9f96ced9c Add RetryProvider 2023-09-21 20:10:59 +02:00
Heiner Lohaus
82bd6f9180 Cache "snlm0e" in Bard
Improve error handling in ChatgptLogin
Fix async example in readme
2023-09-20 06:12:34 +02:00
tony
6c18bb081f add model config : gpt_35_turbo_0613 2023-09-20 11:25:54 +08:00
tony
9ed50de677 dd model config : gpt_35_turbo_0613 2023-09-20 11:23:04 +08:00
tony
980aee9398 add model config : gpt_35_turbo_0613 2023-09-20 11:17:49 +08:00
tony
fa80db85ca add model config : gpt_35_turbo_0613 2023-09-20 11:16:42 +08:00
tony
4772b830d1 add model config : gpt_35_turbo_0613 2023-09-20 11:09:06 +08:00
tony
8b5e0fd261 add model config : gpt_35_turbo_0613 2023-09-20 11:08:11 +08:00
tony
7e2d51221d add model config : gpt_35_turbo_0613 2023-09-20 11:00:19 +08:00
Heiner Lohaus
78bee08527 Check supports_stream in best_providers list 2023-09-18 15:27:36 +02:00
abc
64b1583a03 ~ | improved stability with gpt-3.5-turbo
improved stability with gpt-3.5-turbo
2023-09-17 22:37:14 +01:00
Tekky
78bfbe717d
Revert "Fix type hint" 2023-09-17 22:23:54 +01:00
Tekky
f335062dcd
. 2023-09-17 22:21:09 +01:00
MIDORIBIN
51cfcde2b3 fix type hint 2023-09-16 10:33:03 +09:00
Heiner Lohaus
618addd001 Disable not working providers:
EasyChat, Equing, GetGpt, Liaobots and Wuguokai
No and random best provider for a model
Update providers in Readme
2023-09-12 04:40:10 +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
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
abc
882910c1d5 ~ | major refractoring + new providers | v0.0.2.0
g4f.Provider.FastGpt & g4f.Provider.Equing

gpt-3.5-turbo-0613
2023-08-17 15:31:01 +02:00
abc
6d96a1efd2 ~ | major refractoring | v0.0.2.0 2023-08-17 14:57:37 +02:00
MIDORIBIN
f6ef3cb223 refactor: refactor provider 2023-08-14 11:46:32 +09:00
abc
d53fc931a3 small fixes & new pypi version 2023-08-14 01:02:01 +02:00
MIDORIBIN
6dd8a5a1f4 refactor: refactor models 2023-07-25 09:56:49 +09:00
abc
e946729736 minor fixes 2023-07-16 20:31:51 +01:00
t.me/xtekky
5db58fd87f gpt4free v2, first release 2023-06-24 03:47:00 +02:00