summaryrefslogtreecommitdiffhomepage
path: root/src/settings.ts
blob: 8e737701932413ec005f1c6919f021a17129fe9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import { getDefaultToolStates } from "./tools";

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

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