Files
cleveragents-core/features/auto_debug_graph.feature

22 lines
995 B
Gherkin

Feature: AutoDebug graph JSON parsing
As a developer
I want AutoDebugAgent to parse structured LLM responses
So that fixes and validation results are captured correctly
Scenario: AutoDebugAgent parses JSON outputs from provided LLM
Given a custom auto debug LLM yields JSON responses
When I run the auto debug agent graph with sample state
Then the provided LLM instance should be used
And the fix JSON should populate the current fix
And the validation JSON should mark the fix as valid
Scenario: AutoDebugAgent retries after failed validation
Given a retrying auto debug LLM yields a failed then successful validation
When I run the auto debug agent graph with a retry
Then the agent should retry and capture the failed fix
Scenario: AutoDebugAgent exposes async invoke and streaming interfaces
Given a simple auto debug LLM for async calls
When I run the auto debug async interfaces
Then the async auto debug results should complete