mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 09:28:04 +08:00
feat: enhance model plugin workflow checks and model provider management UX (#33289)
Signed-off-by: yyh <yuanyouhuilyz@gmail.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: CodingOnStar <hanxujiang@dify.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Coding On Star <447357187@qq.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: -LAN- <laipz8200@outlook.com> Co-authored-by: statxc <tyleradams93226@gmail.com>
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
import type { StateCreator } from 'zustand'
|
||||
import type { ChecklistItem } from '@/app/components/workflow/hooks/use-checklist'
|
||||
import type {
|
||||
VariableAssignerNodeType,
|
||||
} from '@/app/components/workflow/nodes/variable-assigner/types'
|
||||
@ -10,6 +11,7 @@ import type {
|
||||
} from '@/types/workflow'
|
||||
|
||||
export type NodeSliceShape = {
|
||||
checklistItems: ChecklistItem[]
|
||||
showSingleRunPanel: boolean
|
||||
setShowSingleRunPanel: (showSingleRunPanel: boolean) => void
|
||||
nodeAnimation: boolean
|
||||
@ -56,6 +58,7 @@ export type NodeSliceShape = {
|
||||
}
|
||||
|
||||
export const createNodeSlice: StateCreator<NodeSliceShape> = set => ({
|
||||
checklistItems: [],
|
||||
showSingleRunPanel: false,
|
||||
setShowSingleRunPanel: showSingleRunPanel => set(() => ({ showSingleRunPanel })),
|
||||
nodeAnimation: false,
|
||||
|
||||
Reference in New Issue
Block a user