-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.ts
More file actions
34 lines (33 loc) · 836 Bytes
/
Copy pathconfig.ts
File metadata and controls
34 lines (33 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import * as dotenv from "dotenv";
dotenv.config();
export const CONFIG = {
repo: {
owner: process.env.REPO_OWNER ?? "Infisical",
name: process.env.REPO_NAME ?? "infisical",
},
github: {
token: process.env.GITHUB_TOKEN,
},
delivery: process.env.DELIVERY ?? "cli",
telegram: {
token: process.env.TELEGRAM_TOKEN,
chatId: process.env.TELEGRAM_CHAT_ID,
},
llm: {
provider: process.env.LLM_PROVIDER ?? "ollama",
model: process.env.LLM_MODEL ?? "qwen3:14b",
baseUrl: process.env.OLLAMA_URL ?? "http://localhost:11434",
think: false,
apiKey: process.env.ANTHROPIC_API_KEY ?? "",
options: { temperature: 0.3 },
},
limits: {
maxIssues: 500,
maxPRs: 100,
lookbackHours: 24,
trendingIssues: 10,
linkedIssues: 15,
chatHistory: 25,
},
dataDir: "./data",
};