mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-15 14:51:19 -08:00
- Introduced a new provider class `LMArenaBeta` in `g4f/Provider/LMArenaBeta.py` with capabilities for text and image models. - Updated `g4f/Provider/Cloudflare.py` to remove an unused import of `Cookies`. - Modified `g4f/Provider/PollinationsAI.py` to change the condition for checking the action in the `next` command. - Added a new provider `PuterJS` in `g4f/Provider/PuterJS.py` with various model handling and authentication logic. - Removed the old `PuterJS` implementation from `g4f/Provider/not_working/PuterJS.py`. - Updated `g4f/Provider/__init__.py` to include the new `LMArenaBeta` and `PuterJS` providers. - Changed the label of `HarProvider` in `g4f/Provider/har/__init__.py` to "LMArena (Har)". - Adjusted the model list in `g4f/Provider/openai/models.py` to ensure consistency in model definitions. - Updated the API response handling in `g4f/providers/response.py` to calculate total tokens in the `Usage` class constructor. |
||
|---|---|---|
| .. | ||
| api | ||
| client | ||
| gui | ||
| image | ||
| integration | ||
| local | ||
| locals | ||
| Provider | ||
| providers | ||
| requests | ||
| tools | ||
| __init__.py | ||
| __main__.py | ||
| cli.py | ||
| constants.py | ||
| cookies.py | ||
| debug.py | ||
| errors.py | ||
| models.py | ||
| typing.py | ||
| version.py | ||