Fix Azure 40 character limit on tool_call_id#5575
Conversation
Azure rejects tool_call_ids longer than 40 characters. This adds a truncateToolCallId function that deterministically shortens long IDs using a hash suffix, ensuring the same ID is used for both the assistant tool_call and the corresponding tool response. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
Claude finished @colegottdank's task —— View job PR Review: Fix Azure 40 character limit on tool_call_idTodo List:
Analysis CompleteI've thoroughly reviewed both changed files. The implementation adds a Score: 8/10 - Good implementation with minor suggestions for improvement Detailed Review: ✅ Strengths:
🔧 Minor Suggestions:
🧪 Test Quality:
🚀 Performance:
Suggestions Summary:
|
Summary
truncateToolCallIdfunction that deterministically shortens long IDs using a hash suffixtool_calland the corresponding tool responseTest plan
🤖 Generated with Claude Code