# CodeBuddy Code v2.37.4 Release

## New Features

### Custom Session ID

SDK now supports specifying custom session IDs when creating sessions, making it easier for external systems to track and manage sessions. This is useful for scenarios that require integrating CodeBuddy sessions with business systems.

## Bug Fixes

- **Session History Loading**: Fixed issue where historical messages couldn't display correctly after session reconnection, now using ACP session/load mechanism to load history
- **Model Selection Sync**: Fixed model ID mapping issue, properly handling the modelId field returned by SDK
- **Model Persistence**: Optimized model selection persistence logic to ensure user selections remain consistent after session reconnection
- **Session Subscription Stack Overflow**: Prevented recursive stack overflow caused by repeated session subscriptions
- **Stop Hook Serialization**: Removed unused result field to avoid errors caused by serialization circular references

## Improvements

- **Tool Steps Display**: Optimized tool call list layout and animation effects for better visual experience
