H Lohaus
0b712c2bde
Add unittests for async client ( #1830 )
...
* Add unittests for async client
* Add pollyfill for anext
* Update integration tests
6 months ago
H Lohaus
1baca306c4
Update Vercel.py
6 months ago
Abobo
f41efef0ae
Error checking for Vercel ( #1704 )
...
Error checking is done for Vercel's create_completion to avoid interruption caused by UnicodeDecodeError.
7 months ago
H Lohaus
6ef282de3a
Remove all not working provider ( #1679 )
...
Fix many providers
Add selenium-wire to requierments
7 months ago
abc
06c448daab
~ | fixed Vercel Provider
7 months ago
H Lohaus
feb83c168b
New minimum requirements ( #1515 )
...
* New minimum requirements
* Add ConversationStyleOptionSets to Bing
* Add image.ImageRequest
* Improve python version support
* Improve unittests
8 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
9 months ago
abc
9140541179
~ | improve compatibility
11 months ago
Heiner Lohaus
79cf039a88
Update config supports_message_history
11 months ago
ⲘrṨhส∂ow
3982f39424
'Refactored by Sourcery' ( #1125 )
...
Co-authored-by: Sourcery AI <>
12 months ago
Heiner Lohaus
13e89d6ab9
Fix MyShell Provider
12 months ago
abc
ae8dae82cf
~ | g4f `v-0.1.7.2`
...
patch / unpatch providers
12 months ago
abc
d4ab83a45b
~
...
automatic models fetching in GUI.
12 months ago
Heiner Lohaus
e46b5fe043
Add proxy support to all providers
1 year 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
1 year ago
Heiner Lohaus
72c3ff7a25
AItianhuSpace Provider with GPT 4 added
...
Reduced chunksize to better text completion
1 year ago
abc
6c2e3cc53c
~ | improve Vercel & g4f.Completion.create
...
added `.Completion.create` class.
```py
response = g4f.Completion.create(
model='text-davinci-003', prompt="Hello")
print(response)
```
1 year ago
abc
af9fc19938
~
1 year ago
Tekky
1215d30bf4
Delete g4f/Provider/Vercel.py
1 year ago
Heiner Lohaus
a3ecabb00e
Improve Vercel Provider:
...
- Fix endless loop
- Add proxy, async support
- Add default model
Fix HuggingChat Provider
1 year ago
abc
d4acc23c0b
~ | Update Vercel Provider
1 year ago
abc
42a02c3d2d
~ | new providers
...
Somwhat fix Aivvm provider, which looks to have a working gpt-4
kinda unstable
1 year ago
abc
bae9c432db
~
1 year ago
Heiner Lohaus
d6382a2145
Add new providers: Aivvm, Vitalentum and Ylokh
1 year 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
1 year 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
1 year ago
abc
efd75a11b8
~ | code styling
1 year ago
MIDORIBIN
f6ef3cb223
refactor: refactor provider
1 year ago