29 lines
1011 B
Gherkin
29 lines
1011 B
Gherkin
Feature: LangGraph Core Functionality
|
|
As a developer using CleverAgents
|
|
I want to use basic LangGraph features
|
|
So that I can build stateful workflows
|
|
|
|
Background:
|
|
Given COMPLETELY_ISOLATED_CleverAgents_reactive_system_is_available_with_LangGraph_support_FOR_ISOLATED_TESTING
|
|
|
|
Scenario: Basic LangGraph creation
|
|
Given COMPLETELY_ISOLATED_I_have_a_LangGraph_configuration_FOR_ISOLATED_TESTING:
|
|
"""
|
|
{
|
|
"name": "simple_graph",
|
|
"nodes": {
|
|
"process": {
|
|
"type": "function",
|
|
"function": "summarize"
|
|
}
|
|
},
|
|
"edges": [
|
|
{"source": "start", "target": "process"},
|
|
{"source": "process", "target": "end"}
|
|
]
|
|
}
|
|
"""
|
|
When COMPLETELY_ISOLATED_I_create_the_graph_FOR_ISOLATED_TESTING
|
|
Then COMPLETELY_ISOLATED_the_graph_should_be_created_successfully_FOR_ISOLATED_TESTING
|
|
And COMPLETELY_ISOLATED_the_graph_should_have_1_custom_node_plus_start_and_end_nodes_FOR_ISOLATED_TESTING
|