FEAT: NEW WORKFLOW ENGINE (#3160)
Co-authored-by: Joel <iamjoel007@gmail.com> Co-authored-by: Yeuoly <admin@srmxy.cn> Co-authored-by: JzoNg <jzongcode@gmail.com> Co-authored-by: StyleZhang <jasonapring2015@outlook.com> Co-authored-by: jyong <jyong@dify.ai> Co-authored-by: nite-knite <nkCoding@gmail.com> Co-authored-by: jyong <718720800@qq.com>
This commit is contained in:
@@ -44,7 +44,7 @@ export type VariableInput = {
|
||||
/**
|
||||
* App modes
|
||||
*/
|
||||
export const AppModes = ['completion', 'chat'] as const
|
||||
export const AppModes = ['advanced-chat', 'agent-chat', 'chat', 'completion', 'workflow'] as const
|
||||
export type AppMode = typeof AppModes[number]
|
||||
|
||||
/**
|
||||
@@ -228,6 +228,7 @@ export type ModelConfig = {
|
||||
image: VisionSettings
|
||||
}
|
||||
files?: VisionFile[]
|
||||
created_at?: number
|
||||
}
|
||||
|
||||
export type Language = typeof LanguagesSupported[number]
|
||||
@@ -278,6 +279,8 @@ export type App = {
|
||||
id: string
|
||||
/** Name */
|
||||
name: string
|
||||
/** Description */
|
||||
description: string
|
||||
|
||||
/** Icon */
|
||||
icon: string
|
||||
@@ -286,7 +289,6 @@ export type App = {
|
||||
|
||||
/** Mode */
|
||||
mode: AppMode
|
||||
is_agent: boolean
|
||||
/** Enable web app */
|
||||
enable_site: boolean
|
||||
/** Enable web API */
|
||||
|
Reference in New Issue
Block a user