fix: HOTFIX anthropic: strip thinking without signature and empty text parts#8329
fix: HOTFIX anthropic: strip thinking without signature and empty text parts#8329Patrick-Erichsen merged 2 commits intomainfrom
Conversation
|
✅ Review Complete Code Review for PR #8329The changes look good overall and properly address the issue of malformed Anthropic payloads. Here are a few observations: Positive aspects:
Potential issues to consider:
Suggestion: Add unit tests in |
…allin/anthropic-messaging-bug
|
🎉 This PR is included in version 1.5.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.27.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.30.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.4.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
Fixes #8314
It already works this way in open ai adapters
Summary by cubic
Prevents malformed Anthropic payloads by stripping empty text parts and dropping thinking blocks without a signature. Fixes #8314.