fix: ensure tool results precede user content to comply with Anthropic protocol
Reordered message processing in handleUserMessage to place tool_result blocks before user content blocks. This prevents 400 errors when clients send messages containing both tool results and additional user content. 🤖 Generated with [opencode](https://opencode.ai) Co-Authored-By: opencode <noreply@opencode.ai>
E
Erick Christian committed
7776a8f32268cbbef1ee74add6a9d7ac539e7c34
Parent: 72c19ed