0b5e2d8276
- Implemented `normalizeAnthropicTargetToolCallId` to define consistent ID validation and fallback logic. - Integrated the normalization utility into the `transformMessages` function to ensure API compatibility. - Refactored `transformMessages` to decouple mapping logic from message loop execution for better maintainability. - Updated the changelog to reflect the correction of tool call ID handling for Anthropic-compatible models.