CodeActAgent drops assistant tool-call metadata during handoff, leaving an orphan tool response
When CodeActAgent hands off to another agent, it rebuilds the assistant message using only text content, discarding ToolCallBlock entries and additional_kwargs tool_calls. The receiving agent sees a tool result with a tool_call_id but no matching assistant tool call, causing providers that validate tool-call/result pairs to reject the conversation.
