fix(workflow): fix LLM node streaming execution configuration error

This commit is contained in:
Eternity
2026-01-14 12:24:41 +08:00
parent a6e1898e1b
commit cdcac262a3

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)