{% extends "base.html" %} {% from "components/custom_dropdown.html" import render_dropdown %} {% block title %}{{ 'Edit' if subscription else 'Create' }} News Subscription - LDR{% endblock %} {% block extra_head %} {% endblock %} {% block content %}

# {{ 'Edit' if subscription else 'Create' }} News Subscription

## Basic Information

Search Query or Topic {% if subscription %}{{ subscription.query_or_topic }}{% endif %}
Enter keywords, topics, or detailed search queries. You can use natural language or specific terms. Use YYYY-MM-DD for dynamic date replacement.
Subscription Name
Optional - give your subscription a memorable name
Update Frequency (minutes)
Common values: 1 (every minute), 60 (hourly), 1440 (daily), 10080 (weekly)
A random jitter will be added to prevent all subscriptions from running at once
Folder

## Model Configuration

Model Provider
Select the LLM provider to use
Custom Endpoint
Enter the OpenAI-compatible API endpoint URL
{{ render_dropdown( input_id="subscription-model", dropdown_id="subscription-model-dropdown", placeholder="Enter or select a model", label="Language Model", help_text="Select the AI model to use for this subscription (leave empty for default)", show_refresh=True, data_initial_value=(subscription.model if subscription else '') ) }}
Not sure which model to use? Compare community results on the LDR benchmarks dataset.
{{ render_dropdown( input_id="subscription-search-engine", dropdown_id="subscription-search-engine-dropdown", placeholder="Select the search engine to use", label="Search Engine", help_text="Select the search engine to use for research", data_initial_value=(subscription.search_engine if subscription else default_settings.search_engine) ) }}
Search Iterations
Number of research cycles to perform
Questions Per Iteration
Follow-up questions in each cycle
Search Strategy
Choose the search strategy that best fits your needs

## Status & Options

Active (subscription will run automatically)
Cancel
{% if not subscription %}
{% endif %}
{% endblock %}