summaryrefslogtreecommitdiffhomepage
path: root/src/settings.ts
blob: c61af9db1ab24268528c74e7e902aed401eb40c7 (plain)
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
import { getDefaultToolStates } from "./tools";

export interface AIPulseSettings {
	ollamaUrl: string;
	model: string;
	enabledTools: Record<string, boolean>;
	temperature: number;
	numCtx: number;
	numPredict: number;
	useSystemPromptFile: boolean;
	systemPromptFile: string;
	injectVaultContext: boolean;
	vaultContextRecentFiles: number;
}

export const DEFAULT_SETTINGS: AIPulseSettings = {
	ollamaUrl: "http://localhost:11434",
	model: "",
	enabledTools: getDefaultToolStates(),
	temperature: 0.7,
	numCtx: 4096,
	numPredict: -1,
	useSystemPromptFile: false,
	systemPromptFile: "agent.md",
	injectVaultContext: false,
	vaultContextRecentFiles: 20,
};