Skip to content

Complete LLM results disappear from streamed answers #389

Open

Description

@Luckyou-d

With Start → LLM → Answer and the template Reply: {{#llm.text#}}!, a model can return done while the chat shows Reply: !.

#395 covers polling results and repeated references such as {{#llm.text#}}/{{#llm.text#}}.
Models that return a complete result directly from invoke_llm still need a fix here.

#24 tracks assignments to node outputs between reads.
#345 fixed the Workflow-as-Tool case reported in langgenius/dify#46034.

Activity

  1. self-assigned this
    on Nov 12, 2026
  2. changed the title [-]ResponseStreamFilter renders nothing for non-streamed variables[/-] [+]LLM blocking and polling results disappear from streamed answers[/+] on Nov 12, 2026
  3. WH-2099 commented on Nov 12, 2026

    @WH-2099
    Member

    I updated this to focus on what's still broken after #345 fixed the original Workflow-as-Tool case.
    I reproduced the same missing output with blocking and polling LLM results on main: the final graph answer is correct, but the streamed answer drops the text.
    The description now includes a runnable repro and the event sequence so we can track the remaining fix here.
    #391 is closed because its fallback could duplicate text and still depended on event timing.

  4. changed the title [-]LLM blocking and polling results disappear from streamed answers[/-] [+]Complete LLM results disappear from streamed answers[/+] on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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