all repos — llm_aggregator @ 97214a9c4d505867b2fb898ce520469a6cec86c5

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	// DefaultModel is the default LLM model.
11	DefaultModel = "deepseek-chat"
12	// DefaultBaseURL is the default API base URL.
13	DefaultBaseURL = "https://api.deepseek.com"
14	// DefaultMaxTokens is the default max tokens for LLM responses.
15	DefaultMaxTokens = 4000
16	// DefaultTemperature is the default sampling temperature.
17	DefaultTemperature = 0.7
18	// DefaultLLMTimeout is the default LLM request timeout in seconds.
19	DefaultLLMTimeout = 300
20
21	// DefaultMaxArticlesPerFeed is the default max articles per feed.
22	DefaultMaxArticlesPerFeed = 10
23	// DefaultMaxDaysOld is the default max age for articles in days.
24	DefaultMaxDaysOld = 7
25	// DefaultMaxTotalArticles is the default max total articles.
26	DefaultMaxTotalArticles = 20
27
28	// DefaultOutput is the default output format.
29	DefaultOutput = "text"
30	// DefaultIncludeArticles is the default for including articles.
31	DefaultIncludeArticles = false
32)
33
34// DefaultSystemPrompt is the default system prompt used for LLM summarisation.
35const DefaultSystemPrompt = `You are an expert analyst and summariser.
36You analyse content from multiple sources and provide
37concise, insightful summaries based on user requests.
38Focus on key points, trends, and important information.`