mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 01:48:04 +08:00
feat: get input vars
This commit is contained in:
@ -11,7 +11,6 @@ import AddButton from '@/app/components/workflow/nodes/_base/components/add-butt
|
||||
import TypeSelector from '@/app/components/workflow/nodes/_base/components/selector'
|
||||
import TooltipPlus from '@/app/components/base/tooltip-plus'
|
||||
import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general'
|
||||
|
||||
const i18nPrefix = 'workflow.nodes.llm'
|
||||
|
||||
type Props = {
|
||||
@ -105,6 +104,8 @@ const ConfigPrompt: FC<Props> = ({
|
||||
onChange(newPrompt)
|
||||
}, [onChange, payload])
|
||||
|
||||
// console.log(getInputVars((payload as PromptItem).text))
|
||||
|
||||
return (
|
||||
<div>
|
||||
{(isChatModel && Array.isArray(payload))
|
||||
|
||||
Reference in New Issue
Block a user