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