summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/deprecated/AiService.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-01-01Add support for all modelsHeiner Lohaus1-2/+2
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
2023-10-23'Refactored by Sourcery' (#1125)ⲘrṨhส∂ow1-3/+6
Co-authored-by: Sourcery AI <>
2023-10-10Some small fixesHeiner Lohaus1-2/+2
2023-10-04Sort providers in new dirsHeiner Lohaus1-2/+2
2023-09-04Join the messageshs_junxiang1-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.
2023-09-03type hintsmsi-JunXiang1-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
2023-08-24Improve provider listHeiner Lohaus1-1/+1
2023-08-14refactor: refactor providerMIDORIBIN1-0/+36