Commit Graph

54 Commits

Author SHA1 Message Date
abc
f74ca10fbd ~ | g4f v-0.1.6.1
some bug fixes
2023-10-11 18:56:53 +01:00
abc
fbd983f628 ~ | g4f v-0.1.5.9(remove deepai.org) 2023-10-10 22:07:12 +01:00
abc
8964d15dc3 ~ | g4f v-0.1.5.8 2023-10-10 15:48:56 +01:00
abc
e05987ace3 ~ | g4f v-0.1.5.7 [Set Provider in GUI] + Provider Proxy 2023-10-09 23:47:58 +01:00
Heiner Lohaus
e46b5fe043 Add proxy support to all providers 2023-10-09 10:22:17 +02:00
abc
64fe0ee487 ~ | g4f v-0.1.5.6
gui & interference can now be run with:

python -m g4f.gui.run

and

python -m g4f.interference.run
2023-10-08 13:31:46 +01:00
abc
92e1ec6f4f ~ | v-0.1.5.5
Aiivm working again
2023-10-07 21:21:34 +01:00
abc
570f71c21e ~ | g4f v-0.1.5.5 2023-10-07 21:06:12 +01:00
Heiner Lohaus
f7bb30036e Improve code by AI 2023-10-07 10:17:43 +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
abc
395fbc70e0 ~ | g4f v-0.1.5.4 [new gui & interference]
+ version fix
2023-10-06 22:50:23 +01:00
abc
6b2ac63cd9 ~ | g4f v-0.1.5.3 [new gui & interference] 2023-10-06 20:41:33 +01:00
abc
44eb804cc5 ~ | new instructions for gui & interference + telegram channel 2023-10-06 20:32:39 +01:00
abc
59e573b6df ~ | g4f v-0.1.5.1 [*new gui & interference*] 2023-10-06 20:05:04 +01:00
abc
012a1fa0c7 ~ | g4f v-0.1.5.1 [*new gui & interference**] 2023-10-06 19:54:11 +01:00
abc
f73bc2d593 ~ | g4f v-0.1.5.0 2023-10-06 14:02:03 +01:00
abc
2d2cfcd894 ~ | g4f v-0.1.4.9 [major updates and patches] 2023-10-05 19:09:12 +01: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
abc
0bd5730bcd ~ | g4f v-0.1.4.8 - Fixed g4f.Provider.Bing
implemented new "X-Sydney-EncryptedConversationSignature" found in headers from "turing/conversation/create"
2023-10-04 21:04:31 +01:00
abc
8471ada090 ~ | g4f v-0.1.4.7 pip install -U g4f 2023-10-04 20:39:07 +01:00
abc
896d040c3e ~ | g4f v-0.1.4.6 pip install -U g4f 2023-10-03 22:07:22 +01:00
abc
791e0d4ec8 ~ | g4f v-0.1.4.5 pip install -U g4f
updated providers:

- g4f.Provider.Bing
- g4f.Provider.OpenaiChat
2023-10-03 22:06:09 +01:00
abc
da50e84dfc ~ | g4f v-0.1.4.5 pip install -U g4f 2023-10-02 17:57:37 +01:00
abc
a4da030d67 ~ | g4f v-0.1.4.4
release_curl bug
2023-10-02 12:31:28 +02:00
abc
98be81fef7 ~ | g4f v-0.1.4.3 2023-10-02 12:22:38 +02:00
abc
423485fda6 ~ | v-0.1.4.2 pip install -U g4f 2023-10-01 04:36:25 +02:00
abc
3ba045c9d1 ~ | pypi v-0.1.4.0 pip install -U g4f 2023-10-01 04:32:49 +02:00
abc
26e1fc4a7d ~ | g4f v-0.1.4.0 (new version checking system 2023-09-27 19:07:12 +01:00
abc
32d5536450 ~ | g4f v-0.1.3.9 2023-09-27 18:55:58 +01:00
abc
be293e7af7 ~ | g4f v-0.1.3.8 2023-09-27 18:53:01 +01:00
abc
c753894705 ~ | v-0.1.3.7 2023-09-26 14:15:32 +01:00
abc
cc3f0bce72 ~ | add version (g4f.version) 2023-09-26 14:13:58 +01: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
fd5c33efb8 TypeError: issubclass() arg 1 must be a class 2023-09-23 17:10:25 +02:00
abc
6c2e3cc53c ~ | improve Vercel & g4f.Completion.create
added `.Completion.create` class.

```py
response = g4f.Completion.create(
    model='text-davinci-003', prompt="Hello")

print(response)
```
2023-09-23 11:16:19 +01:00
Heiner Lohaus
a3ecabb00e Improve Vercel Provider:
- Fix endless loop
 - Add proxy, async support
 - Add default model
 Fix HuggingChat Provider
2023-09-23 11:42:30 +02:00
Heiner Lohaus
e9f96ced9c Add RetryProvider 2023-09-21 20:10:59 +02:00
Heiner Lohaus
55577031d5 Add check_running_loop requirement
Add create_async function in ChatCompletion
Use SelectorEventLoop on windows
2023-09-20 14:52:50 +02:00
Heiner Lohaus
78bee08527 Check supports_stream in best_providers list 2023-09-18 15:27:36 +02:00
abc
8f48c41562 ~ 2023-09-17 22:27:48 +01:00
abc
54f4f3904e Merge branch 'main' of https://github.com/xtekky/gpt4free 2023-09-17 22:24:22 +01:00
abc
f34012a98b Update __init__.py 2023-09-17 22:24:15 +01:00
Tekky
78bfbe717d
Revert "Fix type hint" 2023-09-17 22:23:54 +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
abc
efd75a11b8 ~ | code styling 2023-08-27 17:37:44 +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
cfa4380e89 ~ | small fixes & new pypi version | v-0.0.1.9 2023-08-14 01:07:29 +02:00