mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-15 17:30:13 +08:00
* sanitize orphaned tool_result blocks in Anthropic provider Sanitize tool_result blocks and merge consecutive messages with the same role to comply with Anthropic API requirements. * Fix content handling in message merging logic * fix: sanitize anthropic assistant messages * fix: validate anthropic tool result ordering --------- Co-authored-by: Soulter <905617992@qq.com>
26 KiB
26 KiB