From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001 From: wwf <yearningwang@iqtogether.com> Date: 星期三, 04 六月 2025 15:17:49 +0800 Subject: [PATCH] 初始化 --- app/components/header/account-setting/model-provider-page/declarations.ts | 18 +----------------- 1 files changed, 1 insertions(+), 17 deletions(-) diff --git a/app/components/header/account-setting/model-provider-page/declarations.ts b/app/components/header/account-setting/model-provider-page/declarations.ts index 12dd9b3..02f178c 100644 --- a/app/components/header/account-setting/model-provider-page/declarations.ts +++ b/app/components/header/account-setting/model-provider-page/declarations.ts @@ -15,10 +15,6 @@ boolean = 'boolean', files = 'files', file = 'file', - modelSelector = 'model-selector', - toolSelector = 'tool-selector', - multiToolSelector = 'array[tools]', - appSelector = 'app-selector', } export type FormOption = { @@ -55,12 +51,10 @@ toolCall = 'tool-call', multiToolCall = 'multi-tool-call', agentThought = 'agent-thought', - streamToolCall = 'stream-tool-call', vision = 'vision', video = 'video', document = 'document', audio = 'audio', - StructuredOutput = 'structured-output', } export enum ModelFeatureTextEnum { @@ -115,19 +109,9 @@ tooltip?: TypeWithI18N show_on: FormShowOnObject[] url?: string - scope?: string } -export type CredentialFormSchemaTextInput = CredentialFormSchemaBase & { - max_length?: number; - placeholder?: TypeWithI18N, - template?: { - enabled: boolean - }, - auto_generate?: { - type: string - } -} +export type CredentialFormSchemaTextInput = CredentialFormSchemaBase & { max_length?: number; placeholder?: TypeWithI18N } export type CredentialFormSchemaNumberInput = CredentialFormSchemaBase & { min?: number; max?: number; placeholder?: TypeWithI18N } export type CredentialFormSchemaSelect = CredentialFormSchemaBase & { options: FormOption[]; placeholder?: TypeWithI18N } export type CredentialFormSchemaRadio = CredentialFormSchemaBase & { options: FormOption[] } -- Gitblit v1.8.0