Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request refactors the configuration structure for agent graphs, improves dependency injection for thread name generation, and streamlines service logic throughout the codebase. The most important changes include replacing the top-level
graphsconfig section with direct keys likeagent, adding support for a pluggable thread name generator, and cleaning up message handling in checkpointer services.Configuration structure and validation:
agent,checkpointer,injectq,store, andthread_name_generatorinstead of a nestedgraphsdictionary. All related validation logic and template defaults have been updated accordingly. [1] [2] [3] [4] [5] [6]Thread name generator integration:
ThreadNameGeneratorvia configuration and dependency injection, including new loader logic and property access inGraphConfig. [1] [2] [3] [4] [5]Service logic improvements:
Template and code cleanup:
Miscellaneous improvements:
These changes collectively modernize the configuration approach, enhance extensibility, and improve code maintainability.