def test_continuation_offer_message_format(self, mock_redis):
        """Test that continuation offer message is properly formatted for Claude"""
        mock_client = Mock()
        mock_redis.return_value = mock_client

        request = ContinuationRequest(prompt="Analyze architecture")
        content = "Architecture analysis complete."
        continuation_data = {"remaining_turns": 3, "tool_name": "test_continuation"}

        response = self.tool._create_continuation_offer_response(content, continuation_data, request)

        offer = response.continuation_offer
        message = offer.message_to_user

        # Check message contains key information for Claude
        assert "continue this analysis" in message
        assert "continuation_id" in message
        assert "test_continuation tool call" in message
        assert "3 more exchange(s)" in message

        # Check suggested params are properly formatted
        suggested_params = offer.suggested_tool_params
        assert "continuation_id" in suggested_params
        assert "prompt" in suggested_params
        assert isinstance(suggested_params["continuation_id"], str)
Test that continuation offer message is properly formatted for Claude
tests/test_claude_continuation.py