gpt4free/g4f/Provider/hf_space
hlohaus e7a1bcdf54 fix: improve message formatting and set default activation for providers
- In PerplexityLabs.py, added logic to filter consecutive assistant messages and update message array accordingly
- Modified PerplexityLabs.py to change "messages" field to use the new formatted message list
- Adjusted error handling in PerplexityLabs.py to include a newline in error messages
- Import os in BlackForestLabs_Flux1KontextDev.py and replace media filename assignment with basename if media is None
- In Groq.py, set "active_by_default" to True for the provider
- In OpenRouter.py, added "active_by_default" as True
- In Together.py, set "active_by_default" to True
- In HuggingFaceInference.py, set "working" to False
- In models.py, changed default_model to "openai/gpt-oss-120b" instead of previous value
- In backend_api.py, added a null check in jsonify_provider_models to return 404 if response is None, and simplified get_provider_models call
2025-08-06 04:46:28 +02:00
..
__init__.py Auth on Cloudflare error 2025-07-15 23:43:55 +02:00
BlackForestLabs_Flux1Dev.py Fix beta lmarena provider 2025-06-15 01:45:01 +02:00
BlackForestLabs_Flux1KontextDev.py fix: improve message formatting and set default activation for providers 2025-08-06 04:46:28 +02:00
CohereForAI_C4AI_Command.py fix: add random.choice for alias selection and fix stub model_construct 2025-05-19 11:49:34 +02:00
DeepseekAI_JanusPro7b.py Update providers 2025-06-15 07:39:37 +02:00
Microsoft_Phi_4_Multimodal.py fix: replace format_image_prompt with format_media_prompt across multiple files 2025-06-12 03:01:24 +02:00
Qwen_Qwen_2_5.py Standardize model configurations and enhance error handling (#2818) 2025-03-22 10:49:25 +01:00
Qwen_Qwen_2_5_Max.py refactor: remove deprecated providers, rename LMArenaProvider, update LMArena and models 2025-05-25 21:38:12 +03:00
Qwen_Qwen_2_5M.py Set return_conversation to True 2025-04-26 23:10:06 +02:00
Qwen_Qwen_2_72B.py Standardize model configurations and enhance error handling (#2818) 2025-03-22 10:49:25 +01:00
Qwen_Qwen_3.py Update providers 2025-06-14 14:34:51 +02:00
raise_for_status.py Add FluxDev to G4F provider 2025-02-06 21:24:59 +01:00
StabilityAI_SD35Large.py fix: replace format_image_prompt with format_media_prompt across multiple files 2025-06-12 03:01:24 +02:00