IAV-584/refactor: improve wizard agent endpoints for main & sub agent
This MR refactors the wizard agent endpoints, covering both the main agent and sub agent flows. The changes focus on improving code quality and maintainability without altering existing behavior.
Changes
- Refactored endpoint logic for the main agent wizard
- Refactored endpoint logic for the sub agent wizard
- Improved code structure, readability, and consistency across both agents
Type of Change
-
Refactoring / Code quality (no functional change)
Testing
-
Existing tests pass -
Endpoints manually verified (main agent & sub agent) -
No regression on wizard flows