chore: replace chat in web app (#2373)
This commit is contained in:
parent
3f0c515355
commit
51d359268e
49 changed files with 2100 additions and 92 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue