| Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
and ChatgptX Provider
Fix Bing, Liaobots and ChatgptAi Provider
Add "gpt_35_long" model and custom timeout
|
|
implemented new "X-Sydney-EncryptedConversationSignature" found in headers from "turing/conversation/create"
|
|
Add retry create conversation
Removed get_cookies fallback
Add creative tone parameter
|
|
Add release_curl in url_cffi requets
Support create image response in Bing
|
|
|
|
|
|
A better approach is to use the `.join()` method of strings, which reduces string concatenation operations and improves performance.
Additionally, using formatted strings (f-strings) makes the code cleaner and more readable.
|
|
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
|
|
|
|
|
|
Fixed some errors in my previously precipitated commit.
|
|
Added support the async function
Will implement proper cookie retrieval later but Bing is working for now
|
|
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
|
|
Removed unnecessary check that could prematurely stop the AI's response while answering
|
|
|
|
Add tests for providers with auth
Improve async support / 2x faster
Shared get_cookies by domain function
|
|
|
|
|
|
|
|
|