Skip to content

一个单词一个单词的输出? #24

Description

@acodervic

这个工具是只能凑满了一行才能输出么?可以一个单词一个单词的输出么?因为llm回复的内容可能速度比较满,终端比较宽凑满一行需要等待太久了.

Activity

  1. kristopolous commented on Aug 6, 2025

    @kristopolous
    Member

    The problem is that markdown parsing has to have a look-ahead. There's a way to make it not require it but certain features of commonmark has to be disabled. I had an option to do that at one point, I'll have to look and see if it's still there

  2. kristopolous commented on Aug 11, 2025

    @kristopolous
    Member

    Checked ... I removed that option. It'll have to be done carefully. Things like tables can't reasonably be guessed because the number of columns is unknown. Other things, like links for instance need the full url before emitting. Then the H1/H2 markdown can have ==== on the next line.

    I mean the real question is what to do there? if the option is "no buffering" then I think it's just maybe disable those features? Or is the option "no buffering, I don't care about H1/H2, and you can buffer for urls and tables ... don't care."

    I dunno

    Here's the doc: https://spec.commonmark.org/0.31.2/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions