Skip to content

Gemini API Auth Issue #2202

@JDhruv14

Description

@JDhruv14

Image

What would I like to be added?

A prompt or input option that allows users to directly enter their API key via terminal/CLI when the environment variable is not found — instead of only relying on .env file configuration.

Why is this needed?

Currently, when selecting the API key authentication option, the CLI fails with a “variable not found” error if the key is not present in a .env file. This is unintuitive and creates friction for users who expect to enter the key manually or paste it once for temporary usage. Adding a direct input fallback improves user experience, reduces confusion, and aligns with standard CLI design expectations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Task.

    Projects

    Status

    Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions