chatflow and workflow do not return as streams in some configurations
Self Checks
- [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
- [x] I have searched for existing issues search for existing issues, including closed ones.
- [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
- [x] Please do not modify this template :) and fill in all the required fields.
Dify version
0.15.3
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Whether you're exploring or previewing while editing, or calling the API interface directly, certain configurations don't return streaming This is the detailed configuration of the dsl file:
app:
description: ''
icon: 🤖
icon_background: '#FFEAD5'
mode: advanced-chat
name: 生成文章
use_icon_as_answer_icon: false
kind: app
version: 0.1.5
workflow:
conversation_variables: []
environment_variables: []
features:
file_upload:
allowed_file_extensions:
- .JPG
- .JPEG
- .PNG
- .GIF
- .WEBP
- .SVG
allowed_file_types:
- image
allowed_file_upload_methods:
- local_file
- remote_url
enabled: false
fileUploadConfig:
audio_file_size_limit: 50
batch_count_limit: 5
file_size_limit: 15
image_file_size_limit: 10
video_file_size_limit: 100
workflow_file_upload_limit: 10
image:
enabled: false
number_limits: 3
transfer_methods:
- local_file
- remote_url
number_limits: 3
opening_statement: ''
retriever_resource:
enabled: true
sensitive_word_avoidance:
enabled: false
speech_to_text:
enabled: false
suggested_questions: []
suggested_questions_after_answer:
enabled: false
text_to_speech:
enabled: false
language: ''
voice: ''
graph:
edges:
- data:
isInIteration: false
sourceType: start
targetType: if-else
id: 1739255349843-source-1739255585226-target
selected: false
source: '1739255349843'
sourceHandle: source
target: '1739255585226'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: document-extractor
id: 1739255585226-true-1739255590930-target
selected: false
source: '1739255585226'
sourceHandle: 'true'
target: '1739255590930'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: answer
id: 1739255632306--1739255716498-target
selected: false
source: '1739255632306'
sourceHandle: source
target: '1739255716498'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: start
targetType: if-else
id: 1739255349843-source-1739256830562-target
source: '1739255349843'
sourceHandle: source
target: '1739256830562'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: start
targetType: if-else
id: 1739255349843-source-17392569227860-target
source: '1739255349843'
sourceHandle: source
target: '17392569227860'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: start
targetType: if-else
id: 1739255349843-source-17392568916030-target
source: '1739255349843'
sourceHandle: source
target: '17392568916030'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: start
targetType: if-else
id: 1739255349843-source-17392569010580-target
source: '1739255349843'
sourceHandle: source
target: '17392569010580'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: start
targetType: if-else
id: 1739255349843-source-17392569033940-target
source: '1739255349843'
sourceHandle: source
target: '17392569033940'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: tool
id: 1739256830562-true-1739255516802-target
source: '1739256830562'
sourceHandle: 'true'
target: '1739255516802'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: tool
id: 17392569227860-true-17392555306050-target
source: '17392569227860'
sourceHandle: 'true'
target: '17392555306050'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: tool
id: 17392568916030-true-17392555447040-target
source: '17392568916030'
sourceHandle: 'true'
target: '17392555447040'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: tool
id: 17392569010580-true-17392555452240-target
source: '17392569010580'
sourceHandle: 'true'
target: '17392555452240'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: tool
id: 17392569033940-true-17392555459330-target
source: '17392569033940'
sourceHandle: 'true'
target: '17392555459330'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: variable-aggregator
targetType: code
id: 1739451182225-source-17394512066560-target
source: '1739451182225'
sourceHandle: source
target: '17394512066560'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: tool
targetType: variable-aggregator
id: 1739255516802-source-1739451182225-target
source: '1739255516802'
sourceHandle: source
target: '1739451182225'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: tool
targetType: variable-aggregator
id: 17392555306050-source-1739451182225-target
source: '17392555306050'
sourceHandle: source
target: '1739451182225'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: tool
targetType: variable-aggregator
id: 17392555447040-source-1739451182225-target
source: '17392555447040'
sourceHandle: source
target: '1739451182225'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: tool
targetType: variable-aggregator
id: 17392555452240-source-1739451182225-target
source: '17392555452240'
sourceHandle: source
target: '1739451182225'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: tool
targetType: variable-aggregator
id: 17392555459330-source-1739451182225-target
source: '17392555459330'
sourceHandle: source
target: '1739451182225'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: document-extractor
targetType: variable-aggregator
id: 1739255590930-source-1739451182225-target
source: '1739255590930'
sourceHandle: source
target: '1739451182225'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: code
targetType: llm
id: 17394512066560-source-1739255632306-target
source: '17394512066560'
sourceHandle: source
target: '1739255632306'
targetHandle: target
type: custom
zIndex: 0
nodes:
- data:
desc: ''
selected: false
title: 开始
type: start
variables:
- label: webUrl1
max_length: 1000
options: []
required: false
type: paragraph
variable: webUrl1
- allowed_file_extensions: []
allowed_file_types:
- document
allowed_file_upload_methods:
- local_file
- remote_url
label: file
max_length: 5
options: []
required: false
type: file-list
variable: file
- label: webUrl2
max_length: 1000
options: []
required: false
type: paragraph
variable: webUrl2
- label: webUrl3
max_length: 1000
options: []
required: false
type: paragraph
variable: webUrl3
- label: webUr4
max_length: 1000
options: []
required: false
type: paragraph
variable: webUr4
- label: webUrl5
max_length: 1000
options: []
required: false
type: paragraph
variable: webUrl5
height: 220
id: '1739255349843'
position:
x: 16.503959712129017
y: 316.53859907435844
positionAbsolute:
x: 16.503959712129017
y: 316.53859907435844
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
desc: ''
provider_id: webscraper
provider_name: webscraper
provider_type: builtin
selected: false
title: 网页爬虫1
tool_configurations:
generate_summary: 0
user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/100.0.1000.0 Safari/537.36
tool_label: 网页爬虫
tool_name: webscraper
tool_parameters:
url:
type: mixed
value: '{{#1739255349843.webUrl1#}}'
type: tool
height: 116
id: '1739255516802'
position:
x: 862.640815245494
y: -186.16060500641925
positionAbsolute:
x: 862.640815245494
y: -186.16060500641925
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
desc: ''
provider_id: webscraper
provider_name: webscraper
provider_type: builtin
selected: false
title: 网页爬虫2
tool_configurations:
generate_summary: 0
user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/100.0.1000.0 Safari/537.36
tool_label: 网页爬虫
tool_name: webscraper
tool_parameters:
url:
type: mixed
value: '{{#1739255349843.webUrl2#}}'
type: tool
height: 116
id: '17392555306050'
position:
x: 872.6408148224305
y: -7.922809635650651
positionAbsolute:
x: 872.6408148224305
y: -7.922809635650651
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
desc: ''
provider_id: webscraper
provider_name: webscraper
provider_type: builtin
selected: false
title: 网页爬虫3
tool_configurations:
generate_summary: 0
user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/100.0.1000.0 Safari/537.36
tool_label: 网页爬虫
tool_name: webscraper
tool_parameters:
url:
type: mixed
value: '{{#1739255349843.webUrl3#}}'
type: tool
height: 116
id: '17392555447040'
position:
x: 872.6408148224305
y: 138.9653920713855
positionAbsolute:
x: 872.6408148224305
y: 138.9653920713855
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
desc: ''
provider_id: webscraper
provider_name: webscraper
provider_type: builtin
selected: false
title: 网页爬虫4
tool_configurations:
generate_summary: 0
user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/100.0.1000.0 Safari/537.36
tool_label: 网页爬虫
tool_name: webscraper
tool_parameters:
url:
type: mixed
value: '{{#1739255349843.webUr4#}}'
type: tool
height: 116
id: '17392555452240'
position:
x: 872.6408148224305
y: 316.53859907435844
positionAbsolute:
x: 872.6408148224305
y: 316.53859907435844
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
desc: ''
provider_id: webscraper
provider_name: webscraper
provider_type: builtin
selected: false
title: 网页爬虫5
tool_configurations:
generate_summary: 0
user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/100.0.1000.0 Safari/537.36
tool_label: 网页爬虫
tool_name: webscraper
tool_parameters:
url:
type: mixed
value: '{{#1739255349843.webUrl5#}}'
type: tool
height: 116
id: '17392555459330'
position:
x: 872.6408148224305
y: 494.48978347657055
positionAbsolute:
x: 872.6408148224305
y: 494.48978347657055
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
cases:
- case_id: 'true'
conditions:
- comparison_operator: not empty
id: d30060fb-e5eb-45b1-88b4-bc9259d1199a
value: ''
varType: array[file]
variable_selector:
- '1739255349843'
- file
id: 'true'
logical_operator: and
desc: ''
selected: false
title: 条件分支
type: if-else
height: 126
id: '1739255585226'
position:
x: 509.3671024018978
y: 797.505606967883
positionAbsolute:
x: 509.3671024018978
y: 797.505606967883
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
desc: ''
is_array_file: true
selected: false
title: 文档提取器
type: document-extractor
variable_selector:
- '1739255349843'
- file
height: 92
id: '1739255590930'
position:
x: 842.6929372428735
y: 679.7763925836476
positionAbsolute:
x: 842.6929372428735
y: 679.7763925836476
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
context:
enabled: true
variable_selector:
- '17394512066560'
- result
desc: ''
model:
completion_params:
temperature: 0.7
mode: chat
name: hunyuan-pro
provider: hunyuan
prompt_template:
- id: 0362d6ef-57e5-47b4-9437-33a9795ca351
role: system
text: '# 角色
你是一个高效的文章生成助手,能够快速准确地写出一篇文章。
这是你的参考资料{{#context#}}
# 限制:
- 只处理文章写作相关内容,拒绝回答与文章写作无关的话题。
- 输出内容严格按照给定格式,不得偏离。'
- id: bb497fb4-7ad3-49cb-8888-d0153357f82d
role: user
text: 请根据用户输入内容,并参考资料:{{#17394512066560.result#}}写出文章{{#sys.query#}}
selected: true
title: LLM
type: llm
variables: []
vision:
enabled: false
height: 98
id: '1739255632306'
position:
x: 1996.999998815422
y: 627.0000005076761
positionAbsolute:
x: 1996.999998815422
y: 627.0000005076761
selected: true
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
answer: '{{#1739255632306.text#}}'
desc: ''
selected: false
title: 直接回复 2
type: answer
variables: []
height: 103
id: '1739255716498'
position:
x: 2273
y: 639
positionAbsolute:
x: 2273
y: 639
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
cases:
- case_id: 'true'
conditions:
- comparison_operator: not empty
id: 3e2a4926-c065-4941-8971-9cf21379feb0
value: ''
varType: string
variable_selector:
- '1739255349843'
- webUrl1
id: 'true'
logical_operator: and
desc: ''
selected: false
title: 条件分支 1
type: if-else
height: 126
id: '1739256830562'
position:
x: 491.367103163412
y: -176.81098160132572
positionAbsolute:
x: 491.367103163412
y: -176.81098160132572
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
cases:
- case_id: 'true'
conditions:
- comparison_operator: not empty
id: 3e2a4926-c065-4941-8971-9cf21379feb0
value: ''
varType: string
variable_selector:
- '1739255349843'
- webUrl3
id: 'true'
logical_operator: and
desc: ''
selected: false
title: 条件分支3
type: if-else
height: 126
id: '17392568916030'
position:
x: 499.30410819939596
y: 125.15437654037032
positionAbsolute:
x: 499.30410819939596
y: 125.15437654037032
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
cases:
- case_id: 'true'
conditions:
- comparison_operator: not empty
id: 3e2a4926-c065-4941-8971-9cf21379feb0
value: ''
varType: string
variable_selector:
- '1739255349843'
- webUr4
id: 'true'
logical_operator: and
desc: ''
selected: false
title: 条件分支4
type: if-else
height: 126
id: '17392569010580'
position:
x: 499.30410819939596
y: 307.85357740586574
positionAbsolute:
x: 499.30410819939596
y: 307.85357740586574
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
cases:
- case_id: 'true'
conditions:
- comparison_operator: not empty
id: 3e2a4926-c065-4941-8971-9cf21379feb0
value: ''
varType: string
variable_selector:
- '1739255349843'
- webUrl5
id: 'true'
logical_operator: and
desc: ''
selected: false
title: 条件分支5
type: if-else
height: 126
id: '17392569033940'
position:
x: 475.4930930914443
y: 470.6787683686191
positionAbsolute:
x: 475.4930930914443
y: 470.6787683686191
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
cases:
- case_id: 'true'
conditions:
- comparison_operator: not empty
id: 3e2a4926-c065-4941-8971-9cf21379feb0
value: ''
varType: string
variable_selector:
- '1739255349843'
- webUrl2
id: 'true'
logical_operator: and
desc: ''
selected: false
title: 条件分支2
type: if-else
height: 126
id: '17392569227860'
position:
x: 491.367103163412
y: -19.09759586977725
positionAbsolute:
x: 491.367103163412
y: -19.09759586977725
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
advanced_settings:
group_enabled: true
groups:
- groupId: 31f6a4ce-c9c8-45df-b9a3-bffaae420200
group_name: Group1
output_type: array[string]
variables:
- - '1739255590930'
- text
- groupId: a232bb9f-80e1-4d14-a0d8-eb9b6b3ad26e
group_name: Group2
output_type: string
variables:
- - '1739255516802'
- text
- - '17392555306050'
- text
- - '17392555447040'
- text
- - '17392555452240'
- text
- - '17392555459330'
- text
desc: ''
output_type: array[string]
selected: false
title: 变量聚合器
type: variable-aggregator
variables:
- - '1739255590930'
- text
height: 250
id: '1739451182225'
position:
x: 1395.0000294452161
y: 643.0000019037855
positionAbsolute:
x: 1395.0000294452161
y: 643.0000019037855
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
code: "from typing import List\n\ndef main(arg1: List[str], arg2: str, arg3:\
\ str, arg4: str, arg5: str, arg6: str) -> dict:\n # 对arg1进行判空处理,如果arg1为空列表,则初始化为空字符串\n\
\ if not arg1:\n arg1_joined = \"\"\n else:\n arg1_joined\
\ = ''.join(arg1)\n \n # 对arg2, arg3, arg4, arg5, arg6进行判空处理,如果为空字符串,则初始化为空字符串(这里其实不需要因为默认就是空字符串,但为了代码一致性可以显式写出)\n\
\ arg2 = arg2 if arg2 else \"\"\n arg3 = arg3 if arg3 else \"\"\n\
\ arg4 = arg4 if arg4 else \"\"\n arg5 = arg5 if arg5 else \"\"\n\
\ arg6 = arg6 if arg6 else \"\"\n \n # 将处理后的字符串拼接\n result = arg1_joined\
\ + arg2 + arg3 + arg4 + arg5 + arg6 \n \n return {\n \"result\"\
: result,\n }"
code_language: python3
desc: ''
outputs:
result:
children: null
type: string
selected: false
title: 代码执行 (1)
type: code
variables:
- value_selector:
- '1739255590930'
- text
variable: arg1
- value_selector:
- '1739255516802'
- text
variable: arg2
- value_selector:
- '17392555306050'
- text
variable: arg3
- value_selector:
- '17392555447040'
- text
variable: arg4
- value_selector:
- '17392555452240'
- text
variable: arg5
- value_selector:
- '17392555459330'
- text
variable: arg6
height: 54
id: '17394512066560'
position:
x: 1681.000017345602
y: 648.9999995769364
positionAbsolute:
x: 1681.000017345602
y: 648.9999995769364
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
viewport:
x: 250.4999557687138
y: 318.49998544661645
zoom: 0.5000000211531738
✔️ Expected Behavior
No response
❌ Actual Behavior
This is a return to the Explore page chat:
Back to details:
{ "event": "workflow_finished", "conversation_id": "6be63adb-4479-4feb-8aa2-93056c5e70ca", "message_id": "9e0e3778-9ff1-41f5-928d-51dddb80563e", "created_at": 1740360575, "task_id": "a9f13d37-8451-4605-a7d4-e8c74e4a817b", "workflow_run_id": "da540aa5-9680-4640-bb75-aa348fb06f7d", "data": { "id": "da540aa5-9680-4640-bb75-aa348fb06f7d", "workflow_id": "d914339d-6f25-413f-ab78-5f9a53d0bd28", "sequence_number": 21, "status": "succeeded", "outputs": { "answer": "**《黑暗哪吒》大纲**\n\n**一、引言**\n\n* 简述哪吒这一传统神话人物的背景与特点。\n* 引入黑暗哪吒的概念,探讨其与传统哪吒形象的差异。\n\n**二、黑暗哪吒的形象设定**\n\n* 描述黑暗哪吒的外观特征,如服装、妆容、武器等。\n* 阐述其性格特点,如冷酷、叛逆、坚韧等。\n* 探讨黑暗哪吒的内心世界,包括其成长经历、动机与信念。\n\n**三、黑暗哪吒的故事背景**\n\n* 设定一个与传统哪吒故事不同的世界观,如魔幻、科幻或黑暗奇幻等。\n* 描述黑暗哪吒所处的时代背景,如社会动荡、战争纷争等。\n* 引入与黑暗哪吒相关的重要人物和势力,构建复杂的故事网络。\n\n**四、黑暗哪吒的成长历程**\n\n* 叙述黑暗哪吒从诞生到成长的过程,包括其遭遇的挑战与困境。\n* 描绘黑暗哪吒在与命运抗争中的心理变化与成长。\n* 展现黑暗哪吒逐渐觉醒并掌握自身力量的过程。\n\n**五、黑暗哪吒的冒险与战斗**\n\n* 描述黑暗哪吒参与的冒险与战斗,展现其英勇与智慧。\n* 叙述黑暗哪吒在战斗中与伙伴的默契配合与友情。\n* 探讨黑暗哪吒在战斗中的道德抉择与牺牲精神。\n\n**六、黑暗哪吒的结局**\n\n* 叙述黑暗哪吒在经历种种挑战后的最终命运。\n* 探讨黑暗哪吒的结局对故事主题与价值观的体现。\n* 留下悬念或启示,为可能的续集或衍生作品奠定基础。\n\n**七、结语**\n\n* 总结黑暗哪吒这一角色的独特魅力与价值。\n* 强调黑暗哪吒故事所传达的深刻主题与思考。\n* 展望黑暗哪吒在未来可能的发展与影响。" }, "error": null, "elapsed_time": 13.460346263018437, "total_tokens": 509, "total_steps": 12, "created_by": { "id": "9e3c2cd3-cd25-4a3e-85dd-aa01e8200f08", "name": "root", "email": "[email protected]" }, "created_at": 1740360574, "finished_at": 1740360588, "exceptions_count": 0, "files": [] } }
{ "event": "message", "conversation_id": "6be63adb-4479-4feb-8aa2-93056c5e70ca", "message_id": "9e0e3778-9ff1-41f5-928d-51dddb80563e", "created_at": 1740360575, "task_id": "a9f13d37-8451-4605-a7d4-e8c74e4a817b", "id": "9e0e3778-9ff1-41f5-928d-51dddb80563e", "answer": "**《黑暗哪吒》大纲**\n\n**一、引言**\n\n* 简述哪吒这一传统神话人物的背景与特点。\n* 引入黑暗哪吒的概念,探讨其与传统哪吒形象的差异。\n\n**二、黑暗哪吒的形象设定**\n\n* 描述黑暗哪吒的外观特征,如服装、妆容、武器等。\n* 阐述其性格特点,如冷酷、叛逆、坚韧等。\n* 探讨黑暗哪吒的内心世界,包括其成长经历、动机与信念。\n\n**三、黑暗哪吒的故事背景**\n\n* 设定一个与传统哪吒故事不同的世界观,如魔幻、科幻或黑暗奇幻等。\n* 描述黑暗哪吒所处的时代背景,如社会动荡、战争纷争等。\n* 引入与黑暗哪吒相关的重要人物和势力,构建复杂的故事网络。\n\n**四、黑暗哪吒的成长历程**\n\n* 叙述黑暗哪吒从诞生到成长的过程,包括其遭遇的挑战与困境。\n* 描绘黑暗哪吒在与命运抗争中的心理变化与成长。\n* 展现黑暗哪吒逐渐觉醒并掌握自身力量的过程。\n\n**五、黑暗哪吒的冒险与战斗**\n\n* 描述黑暗哪吒参与的冒险与战斗,展现其英勇与智慧。\n* 叙述黑暗哪吒在战斗中与伙伴的默契配合与友情。\n* 探讨黑暗哪吒在战斗中的道德抉择与牺牲精神。\n\n**六、黑暗哪吒的结局**\n\n* 叙述黑暗哪吒在经历种种挑战后的最终命运。\n* 探讨黑暗哪吒的结局对故事主题与价值观的体现。\n* 留下悬念或启示,为可能的续集或衍生作品奠定基础。\n\n**七、结语**\n\n* 总结黑暗哪吒这一角色的独特魅力与价值。\n* 强调黑暗哪吒故事所传达的深刻主题与思考。\n* 展望黑暗哪吒在未来可能的发展与影响。", "from_variable_selector": [ "1739255632306", "text" ] }
代码节点- 异常处理使用默认后面llm输出就不是流式了 异常处理选择默认就可以流失输出
@RGZingYang 感谢你提供的方法,但是在我智能体上面并不适用,尝试过后,依旧是直接返回一整段内容,没有流式输出,我觉得是条件分支判断导致的,当我所有参数为空,按道理是走else分支的,但是我else分支没有设置路径,但是依旧能走到最后llm输出,然后这时候就会导致阻塞输出,当我把else分支设置后,可以正常流式返回
是的 条件分支是有问题 我也遇到了
异常处理设置默认会导致后续的llm node无法流式输出,这个设置问题在http node中也同样存在 @RGZingYang
Hi, @Jawiqiao. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.
Issue Summary
- Bug reported in Dify version 0.15.3 regarding chatflow and workflow not streaming under certain configurations.
- Issue occurs during exploration, previewing, or direct API calls when self-hosted using Docker.
- Confirmed by RGZingYang and lasthash, related to conditional branching and exception handling.
- Resolved by setting the else branch, allowing normal streaming output.
Next Steps
- Please confirm if this issue is still relevant to the latest version of Dify.
- If no further action is taken, the issue will be automatically closed in 15 days.
Thank you for your understanding and contribution!
这个问题啥时候修复呢