feat: admin panelini ve kurulum dokumanlarini genislet
This commit is contained in:
@@ -6,8 +6,12 @@ export type ToolToggle = {
|
||||
export type RuntimeSettings = {
|
||||
terminal_mode: 1 | 2 | 3;
|
||||
search_provider: "brave" | "searxng";
|
||||
ollama_base_url: string;
|
||||
default_model: string;
|
||||
model_provider: "local" | "zai";
|
||||
local_base_url: string;
|
||||
local_model: string;
|
||||
zai_model: "glm-4.7" | "glm-5";
|
||||
anythingllm_base_url: string;
|
||||
anythingllm_workspace_slug: string;
|
||||
tools: ToolToggle[];
|
||||
};
|
||||
|
||||
@@ -25,6 +29,41 @@ export type UserRecord = {
|
||||
is_active: boolean;
|
||||
};
|
||||
|
||||
export type UserProfileRecord = {
|
||||
telegram_user_id: number;
|
||||
display_name?: string | null;
|
||||
bio?: string | null;
|
||||
occupation?: string | null;
|
||||
primary_use_cases: string[];
|
||||
answer_priorities: string[];
|
||||
tone_preference?: string | null;
|
||||
response_length?: string | null;
|
||||
language_preference?: string | null;
|
||||
workflow_preference?: string | null;
|
||||
interests: string[];
|
||||
approval_preferences: string[];
|
||||
avoid_preferences?: string | null;
|
||||
onboarding_completed: boolean;
|
||||
last_onboarding_step: number;
|
||||
};
|
||||
|
||||
export type AutomationRecord = {
|
||||
id: number;
|
||||
telegram_user_id: number;
|
||||
name: string;
|
||||
prompt: string;
|
||||
schedule_type: "daily" | "weekdays" | "weekly" | "hourly";
|
||||
interval_hours?: number | null;
|
||||
time_of_day?: string | null;
|
||||
days_of_week: string[];
|
||||
status: "active" | "paused";
|
||||
last_run_at?: string | null;
|
||||
next_run_at?: string | null;
|
||||
last_result?: string | null;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
};
|
||||
|
||||
export type MemoryRecord = {
|
||||
id: number;
|
||||
content: string;
|
||||
@@ -34,6 +73,7 @@ export type MemoryRecord = {
|
||||
|
||||
export type OllamaStatus = {
|
||||
reachable: boolean;
|
||||
provider: "local" | "zai";
|
||||
base_url: string;
|
||||
model: string;
|
||||
installed_models: string[];
|
||||
|
||||
Reference in New Issue
Block a user