mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 17:38:04 +08:00
answer stream output support
This commit is contained in:
@ -169,7 +169,7 @@ class LLMNode(BaseNode):
|
||||
text = result.delta.message.content
|
||||
full_text += text
|
||||
|
||||
self.publish_text_chunk(text=text)
|
||||
self.publish_text_chunk(text=text, value_selector=[self.node_id, 'text'])
|
||||
|
||||
if not model:
|
||||
model = result.model
|
||||
|
||||
Reference in New Issue
Block a user