langgenius/dify · error · Error

Seed options require --seed-only or --profile.

Error message

Seed options require --seed-only or --profile.

What it means

Error "Seed options require --seed-only or --profile." thrown in langgenius/dify.

Source

Thrown at e2e/scripts/run-options.ts:90

    if (arg === '--profile') {
      profile = readOptionValue(argv, index, '--profile')
      index += 1
      continue
    }

    if (arg.startsWith('--profile=')) {
      profile = arg.slice('--profile='.length)
      if (!profile) throw new Error('--profile requires a value.')
      continue
    }

    forwardArgs.push(arg)
  }

  const shouldSeed = seedOnly || profile !== undefined
  if (!shouldSeed && (allowBlocked || dryRun || pack !== 'agent-v2'))
    throw new Error('Seed options require --seed-only or --profile.')
  if (dryRun && !seedOnly) throw new Error('--dry-run requires --seed-only.')

  return {
    forwardArgs,
    full,
    headed,
    seed: shouldSeed
      ? {
          allowBlocked,
          dryRun,
          pack,
          profile: profile ?? 'post-merge',
        }
      : undefined,
    seedOnly,
  }
}

View on GitHub (pinned to ef8544b173)

When it happens

Trigger: Thrown at e2e/scripts/run-options.ts:90 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of langgenius/dify@ef8544b173 (2026-08-12). Data as JSON: /api/errors/110ac4db6a8693b7. Report an issue: GitHub.