Skip to content

Bug: CLI crashes with --verbose flag on long prompts #28574

Description

@LUNCInsights

The CLI crashes immediately when using --verbose with prompts over 500 chars.

Steps to reproduce:

  1. npm install -g @google/gemini-cli
  2. gemini --verbose "$(python3 -c 'print("A"*600)')"

Expected: verbose output
Actual: crash with exit code 1


Metadata

Metadata

Assignees

No one assigned

    Labels

    area/coreIssues related to User Interface, OS Support, Core Functionalityeffort/medium2-3 days: UI state, async flow, cross-component refactorskind/bugpriority/p2Important but can be addressed in a future release.status/bot-triagedstatus/need-information

    Type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions