Who are the magi in the story The Gift and the Magi?

This story is of a young couple named Della and Jim. they give up their most priced possessions and buy gifts for each other .During the time of Jesus , there were three wise men who came and gave Jesus some wonderful gifts and they were called The Magi .In this short story by O.Henry ,Jim and Della have been called the magi because they were very wise in giving gifts to each other
The magi in the gift of the magi were Jim and Della, the two lovers living in a dingy flat. They were wise because they learned in the end that any material goods in the world were not worthy of their love for each other.