AskSQL API Reference (core v0.10.0)
    Preparing search index...

    Function createReasoningFilter

    • Hides a reasoning model's narration as it streams; the whole-text strip only cleans the assembled reply, so a streaming host forwarded the monologue live. Only a tag that OPENS the reply counts: one appearing later is content. A tag split across chunks is held back until it can be read.

      Returns (chunk: string) => string