From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +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