mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 09:58:04 +08:00
Merge branch 'main' into feat/rag-2
This commit is contained in:
@ -10,6 +10,7 @@ import type {
|
||||
} from '@/app/components/workflow/types'
|
||||
import { useIsChatMode } from './use-workflow'
|
||||
import { useStoreApi } from 'reactflow'
|
||||
import type { Type } from '../nodes/llm/types'
|
||||
|
||||
export const useWorkflowVariables = () => {
|
||||
const { t } = useTranslation()
|
||||
@ -117,7 +118,7 @@ export const useWorkflowVariableType = () => {
|
||||
isChatMode,
|
||||
isConstant: false,
|
||||
})
|
||||
return type
|
||||
return type as unknown as Type
|
||||
}
|
||||
|
||||
return getVarType
|
||||
|
||||
Reference in New Issue
Block a user