Skip to content

Do not force-wrap text when output to file (or piping) #42

@johnd0e

Description

@johnd0e

Describe the bug
When text is output to a file, it is always wrapped at position 79.
Lines shorter than 79 characters are padded with spaces until they reach this length.

To Reproduce

pytgpt generate --quiet --disable-conversation "Write a short story">output.md

Expected behavior
I expect that the output should not be reformatted/padded in any way.

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