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

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

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