mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-07-31 23:32:03 +08:00
chore: delete the unused change
This commit is contained in:
parent
e42ab9f002
commit
e95ec6a8f3
@ -495,18 +495,10 @@ def test_variable_pool_error_type_variable():
|
|||||||
def test_no_node_in_fail_branch_continue_on_error():
|
def test_no_node_in_fail_branch_continue_on_error():
|
||||||
"""Test HTTP node with fail-branch error strategy"""
|
"""Test HTTP node with fail-branch error strategy"""
|
||||||
graph_config = {
|
graph_config = {
|
||||||
"edges": FAIL_BRANCH_EDGES
|
"edges": FAIL_BRANCH_EDGES[:-1],
|
||||||
+ [{"id": "fail-source-answer-target", "source": "node", "target": "answer", "sourceHandle": "source"}],
|
|
||||||
"nodes": [
|
"nodes": [
|
||||||
{"data": {"title": "Start", "type": "start", "variables": []}, "id": "start"},
|
{"data": {"title": "Start", "type": "start", "variables": []}, "id": "start"},
|
||||||
{
|
{"data": {"title": "success", "type": "answer", "answer": "HTTP request successful"}, "id": "success"},
|
||||||
"data": {"title": "success", "type": "answer", "answer": "LLM request successful"},
|
|
||||||
"id": "success",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"data": {"title": "success", "type": "answer", "answer": "{{#node.query#}}"},
|
|
||||||
"id": "success",
|
|
||||||
},
|
|
||||||
ContinueOnErrorTestHelper.get_http_node(),
|
ContinueOnErrorTestHelper.get_http_node(),
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user