Skip to content

Conversation

@Iamsdt
Copy link
Collaborator

@Iamsdt Iamsdt commented Oct 30, 2025

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 graphs config section with direct keys like agent, adding support for a pluggable thread name generator, and cleaning up message handling in checkpointer services.

Configuration structure and validation:

  • The configuration format now expects top-level keys such as agent, checkpointer, injectq, store, and thread_name_generator instead of a nested graphs dictionary. All related validation logic and template defaults have been updated accordingly. [1] [2] [3] [4] [5] [6]

Thread name generator integration:

  • Added support for loading and injecting a custom ThreadNameGenerator via configuration and dependency injection, including new loader logic and property access in GraphConfig. [1] [2] [3] [4] [5]

Service logic improvements:

  • Simplified message handling in checkpointer services by passing the full config instead of a minimal user-only config, improving consistency and future extensibility. [1] [2] [3] [4]

Template and code cleanup:

  • Updated the default configuration template, fixed imports, and improved agent logic for tool usage, including minor formatting and logic fixes. [1] [2] [3] [4] [5] [6]

Miscellaneous improvements:

  • Added new path settings for docs and root in FastAPI, improved error handling structure, and removed unused fields from schemas. [1] [2] [3] [4] [5]

These changes collectively modernize the configuration approach, enhance extensibility, and improve code maintainability.

Iamsdt added 11 commits October 14, 2025 01:33
…aphService, update dependencies to use minimum versions
- Introduced an ID Generation Guide detailing the Snowflake ID generator, including installation, configuration, and usage examples.
- Added a Thread Name Generator Guide explaining the AI Thread Name Generator, custom implementations, and best practices for creating meaningful thread names.
- Updated test cases in `test_router_ping.py`, `test_ping.py`, and `test_setup_router.py` to reflect the change from "/v1/ping" to "/ping" for the ping endpoint.
Signed-off-by: Shudipto Trafder <shudiptotrafder@gmail.com>
@Iamsdt Iamsdt merged commit c64e9e8 into main Oct 30, 2025
@Iamsdt Iamsdt deleted the v2 branch October 30, 2025 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants