From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001 From: wwf <yearningwang@iqtogether.com> Date: 星期三, 04 六月 2025 15:17:49 +0800 Subject: [PATCH] 初始化 --- types/app.ts | 22 +++++++--------------- 1 files changed, 7 insertions(+), 15 deletions(-) diff --git a/types/app.ts b/types/app.ts index 39f011d..7be1d30 100644 --- a/types/app.ts +++ b/types/app.ts @@ -11,7 +11,6 @@ export enum Theme { light = 'light', dark = 'dark', - system = 'system', } export enum ProviderType { @@ -26,14 +25,14 @@ } export enum AppType { - chat = 'chat', - completion = 'completion', + 'chat' = 'chat', + 'completion' = 'completion', } export enum ModelModeType { - chat = 'chat', - completion = 'completion', - unset = '', + 'chat' = 'chat', + 'completion' = 'completion', + 'unset' = '', } export enum RETRIEVE_TYPE { @@ -111,9 +110,9 @@ export type UserInputFormItem = { 'text-input': TextTypeFormItem } | { - select: SelectTypeFormItem + 'select': SelectTypeFormItem } | { - paragraph: TextTypeFormItem + 'paragraph': TextTypeFormItem } export type AgentTool = { @@ -352,13 +351,6 @@ /** api site url */ api_base_url: string tags: Tag[] - workflow?: { - id: string - created_at: number - created_by?: string - updated_at: number - updated_by?: string - } } export type AppSSO = { -- Gitblit v1.8.0