AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
Python ai-promptsai-skillblueskyclaudeclaude-codeclawhubdeep-researchhackernewsinstagramopenclawpolymarketrecencyredditresearchsocial-mediatiktoktrendstwitterweb-searchyoutube
Revert MODEL_FALLBACK_ORDER to upstream values
Jeffrey Sperlinge568ef8af94c
diff --git a/scripts/lib/openai_reddit.py b/scripts/lib/openai_reddit.pyindex d4e4a1ed..f98e8e44 100644--- a/scripts/lib/openai_reddit.py+++ b/scripts/lib/openai_reddit.py@@ -8,9 +8,8 @@ from typing import Any, Dict, List, Optionalfrom . import http, env# Fallback models when the selected model isn't accessible (e.g., org not verified for GPT-5)-# gpt-5-mini: $0.25/1M input (8x cheaper than gpt-4.1), supports web_search with filters-# gpt-4o-mini does NOT support web_search with filters param, so exclude it-MODEL_FALLBACK_ORDER = ["gpt-5-mini", "gpt-4.1-mini", "gpt-4.1"]+# Note: gpt-4o-mini does NOT support web_search with filters param, so exclude it+MODEL_FALLBACK_ORDER = ["gpt-4.1", "gpt-4o"]def _log_error(msg: str):diff --git a/tests/test_openai_reddit.py b/tests/test_openai_reddit.pyindex 550fa9c8..607be97c 100644--- a/tests/test_openai_reddit.py+++ b/tests/test_openai_reddit.py@@ -64,13 +64,13 @@ class TestIsModelAccessError(unittest.TestCase):class TestModelFallbackOrder(unittest.TestCase):"""Tests for MODEL_FALLBACK_ORDER constant."""- def test_contains_gpt41(self):- """Fallback list should include gpt-4.1 as last resort."""- self.assertIn("gpt-4.1", MODEL_FALLBACK_ORDER)+ def test_contains_gpt4o(self):+ """Fallback list should include gpt-4o."""+ self.assertIn("gpt-4o", MODEL_FALLBACK_ORDER)- def test_gpt5_mini_is_first(self):- """gpt-5-mini should be the first fallback option (cheapest with web_search support)."""- self.assertEqual(MODEL_FALLBACK_ORDER[0], "gpt-5-mini")+ def test_gpt41_is_first(self):+ """gpt-4.1 should be the first fallback option."""+ self.assertEqual(MODEL_FALLBACK_ORDER[0], "gpt-4.1")if __name__ == "__main__":