gpt4free/g4f/Provider
hlohaus 78c0d67d54 refactor: streamline auth handling and CLI structure
- Added `fallback_model = "deepseek"` to `PollinationsAI` class in `PollinationsAI.py`
- Modified `PollinationsAI._agenerate` to safely call `get_model` only if `model` is not None
- Removed unused login loop in `OpenaiChat.synthesize` method in `OpenaiChat.py`
- Replaced full CLI parser and main function implementation in `__main__.py` with import from `.main`
- Added `get_auth_result` method to `AsyncAuthedProvider` in `base_provider.py` for reusable auth retrieval
- Replaced repeated auth loading logic in `create_completion` and `create_streaming_completion` with call to `get_auth_result` in `base_provider.py
2025-07-01 03:10:21 +02:00
..
audio feat: Enhance PollinationsAI with new models and media handling 2025-06-12 08:37:42 +02:00
deprecated Fix missing import 2025-06-19 06:29:26 +02:00
har Add model_aliases to HarProvider 2025-06-15 08:39:49 +02:00
hf_space Update providers 2025-06-15 07:39:37 +02:00
local feat: Add media parameter and update provider configurations 2025-06-14 11:36:52 +02:00
needs_auth refactor: streamline auth handling and CLI structure 2025-07-01 03:10:21 +02:00
not_working dmca 2025-06-28 14:42:22 +02:00
npm Revert "Cleanup unused dependencies" 2024-01-23 04:59:46 +01:00
openai Remove submodule 2025-06-24 22:52:34 +02:00
template fix: remove redundant lookup for "audio" voice in PollinationsAI.py and fix key reference in OpenaiTemplate.py 2025-06-19 02:12:44 +02:00
__init__.py feat: Refactor PollinationsAI and ARTA provider structure 2025-06-19 00:42:41 +02:00
base_provider.py Improve download of generated images, serve images in the api (#2391) 2024-11-20 19:58:16 +01:00
Blackbox.py feat: Add dev tools, reorganize providers, and expand model support (#3019) 2025-06-11 15:29:27 +02:00
Chatai.py refactor: update providers and models for better compatibility 2025-05-12 20:24:36 +03:00
Cloudflare.py Add any_model_map 2025-06-28 06:22:31 +02:00
Copilot.py Set return_conversation to True 2025-04-26 23:10:06 +02:00
DeepInfraChat.py Add any_model_map 2025-06-28 06:22:31 +02:00
DuckDuckGo.py fix: update provider status and fix line ending issues 2025-05-12 20:45:53 +03:00
Free2GPT.py Update models and providers with improved documentation and code structure (#2786) 2025-03-09 19:46:27 +01:00
FreeGpt.py Update models and providers with improved documentation and code structure (#2786) 2025-03-09 19:46:27 +01:00
helper.py Remove all not working provider (#1679) 2024-03-12 02:06:06 +01:00
ImageLabs.py feat: Refactor extra_body handling and update model error handling 2025-06-12 02:29:41 +02:00
LambdaChat.py Add any_model_map 2025-06-28 06:22:31 +02:00
LegacyLMArena.py Update providers 2025-06-15 11:03:49 +02:00
OIVSCodeSer2.py feat: enhance provider support and add PuterJS provider (#2999) 2025-05-19 11:44:15 +02:00
OIVSCodeSer0501.py feat: enhance provider support and add PuterJS provider (#2999) 2025-05-19 11:44:15 +02:00
PerplexityLabs.py refactor: update providers and models for better compatibility 2025-05-12 20:24:36 +03:00
PollinationsAI.py refactor: streamline auth handling and CLI structure 2025-07-01 03:10:21 +02:00
PollinationsImage.py Remove unused files 2025-06-16 21:43:02 +02:00
SearXNG.py Add SearXNG provider and support in web_search 2025-04-23 12:53:08 +02:00
TeachAnything.py Update models and providers with improved documentation and code structure (#2786) 2025-03-09 19:46:27 +01:00
Together.py Add any_model_map 2025-06-28 06:22:31 +02:00
Websim.py fix: replace format_image_prompt with format_media_prompt across multiple files 2025-06-12 03:01:24 +02:00
WeWordle.py feat: enhance provider support and add PuterJS provider (#2999) 2025-05-19 11:44:15 +02:00
Yqcloud.py Set return_conversation to True 2025-04-26 23:10:06 +02:00