chore: delete the unused change

This commit is contained in:
Novice 2025-03-31 10:12:35 +08:00
parent e42ab9f002
commit e95ec6a8f3

View File

@ -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(),
], ],
} }