Complete LLM results disappear from streamed answers

Open Beginner friendly
#389 1 comment 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 2 days

@WH-2099 is already working on this.

Since Nov 12, 2026.

  • #390 by @Luckyou-d — closed without merging
  • #391 by @Luckyou-d — closed without merging

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
69/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
backend

Research direction

Start by reading _process_variable_segment and tracing how it handles the empty final marker when streaming is disabled. Check the variable-pool fallback and the related stream filter tests; add a regression case for a non-streamed variable. Done when the Answer node emits the text recorded in the workflow run.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Python
Stars
90
Forks
47
Avg merge
3d 23h
Merged PRs (30d)
19

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from langgenius/graphon

All issues in langgenius/graphon

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.