From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001 From: wwf <yearningwang@iqtogether.com> Date: 星期三, 04 六月 2025 15:17:49 +0800 Subject: [PATCH] 初始化 --- models/common.ts | 18 +----------------- 1 files changed, 1 insertions(+), 17 deletions(-) diff --git a/models/common.ts b/models/common.ts index cb8fb7f..16acbc5 100644 --- a/models/common.ts +++ b/models/common.ts @@ -1,5 +1,4 @@ import type { I18nText } from '@/i18n/language' -import type { Model } from '@/types/app' export type CommonResponse = { result: 'success' | 'fail' @@ -130,6 +129,7 @@ export type ICurrentWorkspace = Omit<IWorkspace, 'current'> & { role: 'owner' | 'admin' | 'editor' | 'dataset_operator' | 'normal' providers: Provider[] + in_trail: boolean trial_end_reason?: string custom_config?: { remove_webapp_brand?: boolean @@ -179,15 +179,9 @@ export enum DataSourceProvider { fireCrawl = 'firecrawl', jinaReader = 'jinareader', - waterCrawl = 'watercrawl', } export type FirecrawlConfig = { - api_key: string - base_url: string -} - -export type WatercrawlConfig = { api_key: string base_url: string } @@ -292,13 +286,3 @@ text: string } ) => Promise<ModerateResponse> - -export type StructuredOutputRulesRequestBody = { - instruction: string - model_config: Model -} - -export type StructuredOutputRulesResponse = { - output: string - error?: string -} -- Gitblit v1.8.0