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/workflow/nodes/llm/types.ts |   50 --------------------------------------------------
 1 files changed, 0 insertions(+), 50 deletions(-)

diff --git a/app/components/workflow/nodes/llm/types.ts b/app/components/workflow/nodes/llm/types.ts
index c1d33a2..a7774fc 100644
--- a/app/components/workflow/nodes/llm/types.ts
+++ b/app/components/workflow/nodes/llm/types.ts
@@ -15,54 +15,4 @@
     enabled: boolean
     configs?: VisionSetting
   }
-  structured_output_enabled?: boolean
-  structured_output?: StructuredOutput
-}
-
-export enum Type {
-  string = 'string',
-  number = 'number',
-  boolean = 'boolean',
-  object = 'object',
-  array = 'array',
-  arrayString = 'array[string]',
-  arrayNumber = 'array[number]',
-  arrayObject = 'array[object]',
-}
-
-export enum ArrayType {
-  string = 'array[string]',
-  number = 'array[number]',
-  boolean = 'array[boolean]',
-  object = 'array[object]',
-}
-
-export type TypeWithArray = Type | ArrayType
-
-type ArrayItemType = Exclude<Type, Type.array>
-export type ArrayItems = Omit<Field, 'type'> & { type: ArrayItemType }
-
-export type SchemaEnumType = string[] | number[]
-
-export type Field = {
-  type: Type
-  properties?: { // Object has properties
-    [key: string]: Field
-  }
-  required?: string[] // Key of required properties in object
-  description?: string
-  items?: ArrayItems // Array has items. Define the item type
-  enum?: SchemaEnumType // Enum values
-  additionalProperties?: false // Required in object by api. Just set false
-}
-
-export type StructuredOutput = {
-  schema: SchemaRoot
-}
-
-export type SchemaRoot = {
-  type: Type.object
-  properties: Record<string, Field>
-  required?: string[]
-  additionalProperties: false
 }

--
Gitblit v1.8.0