gpt4free/g4f/Provider
hlohaus f96ea67f50 fix: replace format_image_prompt with format_media_prompt across multiple files
- Updated imports to use format_media_prompt in g4f/Provider/ARTA.py, PollinationsAI.py, PollinationsImage.py, Websim.py, audio/OpenAIFM.py, hf_space/BlackForestLabs_Flux1Dev.py, hf_space/DeepseekAI_JanusPro7b.py, hf_space/G4F.py, hf_space/Microsoft_Phi_4_Multimodal.py, hf_space/StabilityAI_SD35Large.py, needs_auth/BingCreateImages.py, needs_auth/BlackboxPro.py, needs_auth/DeepInfra.py, needs_auth/Gemini.py, needs_auth/MicrosoftDesigner.py, needs_auth/OpenaiChat.py, needs_auth/hf/HuggingChat.py, needs_auth/hf/HuggingFaceInference.py, needs_auth/hf/HuggingFaceMedia.py, not_working/AllenAI.py, template/OpenaiTemplate.py, api.py, and gui/server/api.py
- Replaced calls to format_image_prompt with format_media_prompt in relevant locations
- Changed media prompt handling in various providers to ensure consistent usage of format_media_prompt
- Modified the __aenter__ and __aexit__ methods of requests/aiohttp.py to properly manage ClientSession lifecycle
2025-06-12 03:01:24 +02:00
..
audio fix: replace format_image_prompt with format_media_prompt across multiple files 2025-06-12 03:01:24 +02:00
har feat: Add LMArenaBeta provider and update existing providers 2025-05-29 03:42:17 +02:00
hf_space fix: replace format_image_prompt with format_media_prompt across multiple files 2025-06-12 03:01:24 +02:00
local Fix Image Generation in HuggingChat 2025-01-24 03:13:04 +01:00
needs_auth fix: replace format_image_prompt with format_media_prompt across multiple files 2025-06-12 03:01:24 +02:00
not_working fix: replace format_image_prompt with format_media_prompt across multiple files 2025-06-12 03:01:24 +02:00
npm Revert "Cleanup unused dependencies" 2024-01-23 04:59:46 +01:00
openai feat: Add LMArenaBeta provider and update existing providers 2025-05-29 03:42:17 +02:00
template fix: replace format_image_prompt with format_media_prompt across multiple files 2025-06-12 03:01:24 +02:00
__init__.py feat: Add dev tools, reorganize providers, and expand model support (#3019) 2025-06-11 15:29:27 +02:00
ARTA.py fix: replace format_image_prompt with format_media_prompt across multiple files 2025-06-12 03:01:24 +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 feat: Add LMArenaBeta provider and update existing providers 2025-05-29 03:42:17 +02:00
Copilot.py Set return_conversation to True 2025-04-26 23:10:06 +02:00
DeepInfraChat.py feat: Add dev tools, reorganize providers, and expand model support (#3019) 2025-06-11 15:29:27 +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 feat: Add dev tools, reorganize providers, and expand model support (#3019) 2025-06-11 15:29:27 +02:00
LegacyLMArena.py feat: Refactor extra_body handling and update model error handling 2025-06-12 02:29:41 +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 fix: replace format_image_prompt with format_media_prompt across multiple files 2025-06-12 03:01:24 +02:00
PollinationsImage.py fix: replace format_image_prompt with format_media_prompt across multiple files 2025-06-12 03:01:24 +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 feat: Add dev tools, reorganize providers, and expand model support (#3019) 2025-06-11 15:29:27 +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