v0.1.1: System default AI config, configurable URLs, single .env, website refactor
This commit is contained in:
@@ -221,7 +221,7 @@ export interface Task {
|
||||
}
|
||||
|
||||
export interface Settings {
|
||||
aiProvider: 'openai' | 'anthropic' | 'ollama' | 'lmstudio' | 'groq';
|
||||
aiProvider: 'openai' | 'anthropic' | 'ollama' | 'lmstudio' | 'groq' | 'xai' | 'custom';
|
||||
aiApiKey?: string;
|
||||
aiModel: string;
|
||||
aiBaseUrl?: string;
|
||||
@@ -229,10 +229,13 @@ export interface Settings {
|
||||
language: string;
|
||||
timezone: string;
|
||||
journalContextDays: number;
|
||||
useSystemDefault: boolean;
|
||||
providerSettings?: Record<string, {
|
||||
apiKey?: string;
|
||||
model?: string;
|
||||
baseUrl?: string;
|
||||
headers?: Record<string, string>;
|
||||
parameters?: Record<string, unknown>;
|
||||
}>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user