all repos — llm_aggregator @ 29a4710e981512a82abba77ec8d7b43e413453e7

A CLI tool to aggregate RSS feeds and summarise them with LLMs

internal/defaults/defaults.go (view raw)

 1package defaults
 2
 3// Default values for the llm_aggregator application.
 4//
 5// These constants are used throughout the codebase to ensure
 6// consistent default values across CLI arguments, configuration,
 7// and runtime settings.
 8
 9const (
10	// LLM API defaults
11	DefaultModel       = "deepseek-chat"
12	DefaultBaseURL     = "https://api.deepseek.com"
13	DefaultMaxTokens   = 4000
14	DefaultTemperature = 0.7
15	DefaultLLMTimeout  = 300 // seconds
16
17	// Feed aggregation defaults
18	DefaultMaxArticlesPerFeed = 10
19	DefaultMaxDaysOld         = 7
20	DefaultMaxTotalArticles   = 20
21
22	// Output defaults
23	DefaultOutput         = "text"
24	DefaultIncludeArticles = false
25)
26
27// DefaultSystemPrompt is the default system prompt used for LLM summarisation.
28const DefaultSystemPrompt = `You are an expert analyst and summariser.
29You analyse content from multiple sources and provide
30concise, insightful summaries based on user requests.
31Focus on key points, trends, and important information.`