# config.py # --- LIMITS --- # Maximum number of topics allowed in one run MAX_TOPICS = 20 # Maximum number of articles to process per search (Search & Clean phase) MAX_NEWS_PER_TOPIC = 500 # Maximum number of articles to send to GPT (Extraction phase) to save money #MAX_ARTICLES_TO_LLM = 10000 # Number of articles to process in one LLM call #LLM_BATCH_SIZE = 15 #SERPER_RESULTS_PER_PAGE = 20 # --- API DEFAULTS --- DEFAULT_DAYS_BACK = 7 DEFAULT_COUNTRY = "us" # "Reporter" plan limits https://worldnewsapi.com/pricing/ WORLD_NEWS_REQUESTS_PER_SECOND = 2.0 WORLD_NEWS_MAX_CONCURRENT_REQUESTS = 5 #Google settings COMPANY_CACHE_SHEET_NAME = "company_info_cache"