FlowiseAI/Flowise · error · Error

LLM Node input variables values are not provided! Required:

Error message

LLM Node input variables values are not provided! Required: ${nodeInputVars}, Provided: ${providedInputVars}. Missing: ${missingInputVars}

What it means

The system and human prompt templates are scanned for {placeholder} tokens (getInputVariables). Every token must have a matching key in the provided prompt input values object. The error lists the required, provided, and missing variable names so the gap is explicit. Checked at init after the prompt-values JSON is parsed.

Source

Thrown at packages/components/nodes/sequentialagents/LLMNode/LLMNode.ts:438

            }
        }
        llmNodeInputVariablesValues = handleEscapeCharacters(llmNodeInputVariablesValues, true)

        const startLLM = sequentialNodes[0].startLLM
        const llm = model || startLLM
        if (nodeData.inputs) nodeData.inputs.model = llm

        const multiModalMessageContent = sequentialNodes[0]?.multiModalMessageContent || (await processImageMessage(llm, nodeData, options))
        const abortControllerSignal = options.signal as AbortController
        const llmNodeInputVariables = uniq([...getInputVariables(systemPrompt), ...getInputVariables(humanPrompt)])

        const missingInputVars = difference(llmNodeInputVariables, Object.keys(llmNodeInputVariablesValues)).join(' ')
        const allVariablesSatisfied = missingInputVars.length === 0
        if (!allVariablesSatisfied) {
            const nodeInputVars = llmNodeInputVariables.join(' ')
            const providedInputVars = Object.keys(llmNodeInputVariablesValues).join(' ')

            throw new Error(
                `LLM Node input variables values are not provided! Required: ${nodeInputVars}, Provided: ${providedInputVars}. Missing: ${missingInputVars}`
            )
        }

        const workerNode = async (state: ISeqAgentsState, config: RunnableConfig) => {
            const bindModel = config.configurable?.bindModel?.[nodeData.id]
            return await agentNode(
                {
                    state,
                    llm,
                    agent: await createAgent(
                        nodeData,
                        options,
                        llmNodeName,
                        state,
                        bindModel || llm,
                        [...tools],
                        systemPrompt,

View on GitHub (pinned to abe4a8601a)

Solutions

  1. Add the variables listed in 'Missing:' to the Prompt Input Values object with the exact key names.
  2. Or remove the unused placeholders from the system/human prompts.
  3. Verify exact spelling and case — {foo} and {Foo} are distinct.

Example fix

// before: prompt has {summary} but values omit it
prompt: "Summarize: {summary}"
values: {"topic": "rag"}
// error: Missing: summary

// after
values: {"topic": "rag", "summary": "..."}
Defensive patterns

Strategy: validation

Validate before calling

import { uniq, difference } from 'lodash'
const required = uniq([...getInputVariables(systemPrompt), ...getInputVariables(humanPrompt)])
const provided = Object.keys(llmNodeInputVariablesValues)
const missing = difference(required, provided)
if (missing.length) throw new Error(`Missing prompt input values: ${missing.join(', ')}`)

Type guard

const satisfiesPromptVars = (prompt: string, values: Record<string, unknown>): boolean =>
  difference(getInputVariables(prompt), Object.keys(values)).length === 0

Prevention

When it happens

Trigger: A prompt contains {summary} but the Prompt Input Values object has no 'summary' key; a placeholder is misspelled relative to the value key; a placeholder was added to the prompt but its value was not supplied.

Common situations: Iterating on prompt text and adding a new placeholder without adding its value; case mismatch ({UserId} vs userId); renaming a variable in one place but not the other.

Related errors


AI-assisted analysis of FlowiseAI/Flowise@abe4a8601a (2026-08-12). Data as JSON: /api/errors/765fa7f226da599d. Report an issue: GitHub.