Skip to content

Commit edd8897

Browse files
mefogleclaude
andcommitted
fix: use SessionManager methods for pending tool call state management
- Replace direct session service access with SessionManager's get_state_value and set_state_value methods - Simplifies state management by using higher-level abstraction - Fixes issue #25 by using proper SessionManager API for state updates - Maintains same functionality with cleaner implementation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 47c8dc3 commit edd8897

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

typescript-sdk/integrations/adk-middleware/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515
- **FIXED**: Race condition in tool result processing causing "No pending tool calls found" warnings
1616
- **FIXED**: Tool call removal now happens after pending check to prevent race conditions
1717
- **IMPROVED**: Better handling of empty tool result content with graceful JSON parsing fallback
18+
- **FIXED**: Pending tool call state management now uses SessionManager methods (issue #25)
1819

1920
### Enhanced
2021
- **LOGGING**: Added debug logging for tool result processing to aid in troubleshooting
2122
- **ARCHITECTURE**: Consolidated agent copying logic to avoid creating multiple unnecessary copies
2223
- **CLEANUP**: Removed unused toolset parameter from `_run_adk_in_background` method
24+
- **REFACTOR**: Replaced direct session service access with SessionManager state management methods for pending tool calls
2325

2426
## [0.4.1] - 2025-07-13
2527

0 commit comments

Comments
 (0)