refactor(config): Simplify digest grouping with view parameter #54

Merged
eleith merged 1 commits from gemini/refactor/simplify-digest-config into main 2025-09-04 05:14:54 +00:00
1 Commits
Author SHA1 Message Date
eleith 07e1dbfcc8 refactor(config): Simplify digest grouping with view parameter
Replaces the `group_by`, `sub_group_by`, and `sort_by` parameters with a single `view` parameter in the digest configuration.

The new `view` parameter can be set to one of three values:
- `date`: Groups by category, then by date.
- `category`: Groups by category, then by feed.
- `ai`: Groups by category, then uses the LLM to create sub-groups.

The default view is `date`.

This change simplifies the configuration for the user and makes the digest generation logic easier to maintain.
2025-09-04 05:03:57 +00:00