Skip to content

Scenario JSON rejects "tools": "" while the CLI accepts --tools "" #37

Description

@queso

Found 2026-09-10 running a text-mode compare.

A scenario with "mode": "text", "tools": "" at the top level fails config load with string value must be a non-empty string. The CLI flag --tools "" is documented and accepted. Text mode already implies no tools (defaultTools), so the workaround is to omit the key, but the JSON field should accept the same values the flag does, or the error should name the field and say why.

Repro: any scenario file with "tools": "", then promptdiff compare --scenario it.json.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions