gpt4free/etc/examples
Your Name 3d47797d66 fix: also check message.content is None per AI review feedback
Extend guards in aibadgr.py (both completions) and vision_images.py
(both local/remote paths) to additionally check message.content is None,
covering providers that return a non-None message object but set content
to None (e.g. on certain filter responses).
2026-05-18 08:12:17 -05:00
..
aibadgr.py fix: also check message.content is None per AI review feedback 2026-05-18 08:12:17 -05:00
api_completions_copilot.py Update docs/. etc/. g4f/. README.md (#2515) 2024-12-28 20:11:48 +01:00
api_generations_image.py Update docs/. etc/. g4f/. README.md (#2515) 2024-12-28 20:11:48 +01:00
audio.py Add audio example usage 2025-03-21 05:13:59 +01:00
config.yaml Fix evaluate_condition to support provider-specific quota dict formats 2026-03-19 15:28:00 +00:00
mcp_tools_demo.py Add comprehensive MCP documentation and examples 2025-11-01 05:13:47 +00:00
messages.py fix: guard choices[0] and message=None before content access 2026-05-17 18:12:25 -05:00
messages_stream.py Update docs/. etc/. g4f/. README.md (#2515) 2024-12-28 20:11:48 +01:00
openaichat.py Update docs/. etc/. g4f/. README.md (#2515) 2024-12-28 20:11:48 +01:00
text_completions_demo_async.py Update docs/. etc/. g4f/. README.md (#2515) 2024-12-28 20:11:48 +01:00
text_completions_demo_sync.py fix: guard choices[0] and message=None before content access 2026-05-17 18:12:25 -05:00
text_completions_streaming.py Update docs/. etc/. g4f/. README.md (#2515) 2024-12-28 20:11:48 +01:00
video.py Set default model in HuggingFaceMedia 2025-03-26 01:32:05 +01:00
vision_images.py fix: also check message.content is None per AI review feedback 2026-05-18 08:12:17 -05:00
vision_images_reka.py Update docs/. etc/. g4f/. README.md (#2515) 2024-12-28 20:11:48 +01:00