mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
* Update PuterJS provider to set `working` to `False` and `return_conversation` to `True` * Update `PuterJS` class to raise `RateLimitError` instead of yielding error messages * Update `PuterJS` class to raise `RuntimeError` instead of yielding error messages for authentication and other exceptions * Remove `PuterJS` as the best provider for various models and replace with other providers * Update `DeepSeekAPI` to include `model_aliases` for "deepseek-chat" * Update `openai/models.py` to include "o4-mini" and "o4-mini-high" in `text_models` * Remove `PuterJS` from the list of providers in `g4f/models.py` * Update `ModelUtils` to remove `PuterJS` from the list of models
6 lines
No EOL
327 B
Python
6 lines
No EOL
327 B
Python
default_model = "auto"
|
|
default_image_model = "dall-e-3"
|
|
image_models = [default_image_model]
|
|
text_models = [default_model, "gpt-4", "gpt-4.1", "gpt-4.5", "gpt-4o", "gpt-4o-mini", "o1", "o1-preview", "o1-mini", "o3-mini", "o3-mini-high", "o4-mini", "o4-mini-high"]
|
|
vision_models = text_models
|
|
models = text_models + image_models |