mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-09 02:46:52 +08:00
chore: replace chat in web app (#2373)
This commit is contained in:
@@ -70,6 +70,7 @@ export type PromptVariable = {
|
||||
}
|
||||
|
||||
export type TextTypeFormItem = {
|
||||
default: string
|
||||
label: string
|
||||
variable: string
|
||||
required: boolean
|
||||
@@ -77,11 +78,19 @@ export type TextTypeFormItem = {
|
||||
}
|
||||
|
||||
export type SelectTypeFormItem = {
|
||||
default: string
|
||||
label: string
|
||||
variable: string
|
||||
required: boolean
|
||||
options: string[]
|
||||
}
|
||||
|
||||
export type ParagraphTypeFormItem = {
|
||||
default: string
|
||||
label: string
|
||||
variable: string
|
||||
required: boolean
|
||||
}
|
||||
/**
|
||||
* User Input Form Item
|
||||
*/
|
||||
@@ -89,6 +98,8 @@ export type UserInputFormItem = {
|
||||
'text-input': TextTypeFormItem
|
||||
} | {
|
||||
'select': SelectTypeFormItem
|
||||
} | {
|
||||
'paragraph': TextTypeFormItem
|
||||
}
|
||||
|
||||
export type AgentTool = {
|
||||
|
||||
Reference in New Issue
Block a user