internal/defaults/defaults.go (view raw)
1package defaults
2
3// Default values used throughout the application.
4// Kept in one place so they are consistent across CLI, config, and runtime.
5
6const (
7 // DefaultModel is the default LLM model.
8 DefaultModel = "deepseek-chat"
9 // DefaultBaseURL is the default API base URL.
10 DefaultBaseURL = "https://api.deepseek.com"
11 // DefaultMaxTokens is the default max tokens for LLM responses.
12 DefaultMaxTokens = 4000
13 // DefaultTemperature is the default sampling temperature.
14 DefaultTemperature = 0.7
15 // DefaultLLMTimeout is the default LLM request timeout in seconds.
16 DefaultLLMTimeout = 300
17
18 // DefaultMaxArticlesPerFeed is the default max articles per feed.
19 DefaultMaxArticlesPerFeed = 10
20 // DefaultMaxDaysOld is the default max age for articles in days.
21 DefaultMaxDaysOld = 7
22 // DefaultMaxTotalArticles is the default max total articles.
23 DefaultMaxTotalArticles = 20
24
25 // DefaultOutput is the default output format.
26 DefaultOutput = "text"
27 // DefaultIncludeArticles is the default for including articles.
28 DefaultIncludeArticles = false
29)
30
31// DefaultSystemPrompt is the default system prompt used for LLM summarisation.
32const DefaultSystemPrompt = `You are an expert analyst and summariser.
33You analyse content from multiple sources and provide
34concise, insightful summaries based on user requests.
35Focus on key points, trends, and important information.`