Skip to content

Usage Field Generates Random Data When Left Empty #16

@Utkarshrajmishra

Description

@Utkarshrajmishra

Issue:

When generating a README using the application, if the "Usage" field is left empty, the Gemini API generates random data instead of leaving the field blank. This behavior can lead to confusion for users who did not intend to include this section.
Screenshot from 2024-10-02 23-27-23

Screenshot from 2024-10-02 23-33-48

Expected Behavior:

The "Usage" section should be omitted or remain empty if no input is provided by the user.

Suggested Solution:

Modify the behavior of the generator to ensure that when the "Usage" field is left empty, it is either excluded from the README or left as a placeholder (e.g., "No usage instructions provided.").

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions