Merge pull request #108 from SuanmoSuanyangTechnology/fix/workflow

fix(workflow): fix LLM node streaming execution configuration error
This commit is contained in:
Mark
2026-01-14 12:28:37 +08:00
committed by GitHub

View File

@@ -226,6 +226,7 @@ class LLMNode(BaseNode):
Yields:
文本片段chunk或完成标记
"""
self.typed_config = LLMNodeConfig(**self.config)
from langgraph.config import get_stream_writer
llm, prompt_or_messages = self._prepare_llm(state, True)