Repository navigation
LCORE-5824: Add StepPersistenceSettings to enable or disable agent step persistence - #3347
jrobertboos wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. WalkthroughThe change adds default-enabled step-persistence settings to agent configuration. Agent creation passes those settings to the capability factory, which skips history-service construction when persistence is disabled. ChangesStep persistence configuration
Estimated code review effort: 2 (Simple) | ~10 minutes Change: Feature Sequence Diagram(s)sequenceDiagram
participant AgentSettings
participant StepPersistenceSettings
participant AgentFactory
participant StepPersistenceFactory
participant AgentHistoryService
AgentSettings->>StepPersistenceSettings: Build default settings from QueryRequest
AgentSettings->>AgentFactory: Provide settings
AgentFactory->>StepPersistenceFactory: Pass step_persistence settings
alt Persistence disabled
StepPersistenceFactory-->>AgentFactory: Return None without constructing history service
else Persistence enabled
StepPersistenceFactory->>AgentHistoryService: Obtain step-persistence capability
AgentHistoryService-->>StepPersistenceFactory: Return capability or None
StepPersistenceFactory-->>AgentFactory: Return capability or None
end
Possibly related PRs
Suggested reviewers: Merge Risk:
|
Description
Type of change
pyproject.toml+uv.lock]requirements.*.txtfor Konflux]Tools used to create PR
Identify any AI code assistants used in this PR (for transparency and review context)
Related Tickets & Documents
Checklist before requesting a review
Testing
Summary by CodeRabbit