summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/Aichat.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ~ | Merge pull request #876 from Lin-jun-xiang/join_messagesTekky2023-09-051-4/+2
|\ | | | | ~ | Following PEP8, use `.join()` to process `messages`
| * Join the messageshs_junxiang2023-09-041-4/+2
| | | | | | | | | | 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.
* | type hintsmsi-JunXiang2023-09-031-0/+2
|/ | | | | | | | | | 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
* ~ | code stylingabc2023-08-271-6/+4
|
* set encoding and temperaturezengrr2023-08-221-2/+4
|
* refactor: refactor providerMIDORIBIN2023-08-141-0/+55