Skip to content

pkg/aflow: reflow text output to 80 columns #6606

@dvyukov

Description

@dvyukov

LLM-generated text output (e.g. explanation as to why a race is benign) is not capped at any line lengths. By default LLM assumes the text will be reflown when rendered (which is reasonable).

As the result the text cannot be directly copy-pasted into kernel emails.

For patch descriptions I asked LLM to format to 72 cols. And it usually works, but I wonder if we should not bother LLM with such mechanical task (it can easily mess it as well I guess). Perhaps we should re-flow manually. We could do it once as part of workflow, or perhaps better to have a function for that in dashboard, and reflow where/as necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AI patchingFeature requests and bugs related to AI-based kernel bug fix generation.enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions