| Commit message (Collapse) | Author | Files | Lines |
|
Add support for "nest_asyncio",
Reuse event_loops with event_loop_policy
Support for "create_async" with synchron provider
|
|
Reduced chunksize to better text completion
|
|
- Fix endless loop
- Add proxy, async support
- Add default model
Fix HuggingChat Provider
|
|
Add PerplexityAi Provider
|
|
|
|
|
|
Add create_async function in ChatCompletion
Use SelectorEventLoop on windows
|
|
|
|
|
|
|
|
|
|
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
|
|
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
|
|
|
|
Add tests for providers with auth
Improve async support / 2x faster
Shared get_cookies by domain function
|
|
g4f.Provider.FastGpt & g4f.Provider.Equing
gpt-3.5-turbo-0613
|
|
|