I would have to agree with some of the responses your getting. There are certainly breeds that are more tolerant than others. From my experience, my basenji was nippy and wary of my grandsons in the beginning. They are very loving but do need to have their space and respect their boundaries.
Mine warmed up after a while and also going for walks together with the baby does help. They do not like to be abruptly woken up, tugged or poked especially when little ones donāt know their strength or understand their dislikes at such a young age. Itās not their fault. Teaching the little ones when is a good time and when itās time to let them be is what I did. Observe them and guide both of them to be gentle. Mine certainly did great that way and now they love to be around them and sleep with them but again even still if they are too rough or disturb them while the sleep they will get a little snarl or a warning boop. I had my grandson give her treats too and she loved that too. When she wanted space I would use a baby gate and let her sleep or eat in peace. It takes time and patience and paying attention to their body language.
Jealousy can also be a factor so also take time to give your basenji one on one walkies and reward them for good behavior. I am not an advocate for rehoming a pet, they are family but If you feel that you canāt invest the time, then rehoming to a good family is the best option.
I donāt believe in giving dogs drugs for something that can be corrected with time and effort. Kids will be kids and dogs will be dogs, you canāt fault them for that. We have to respect their way of existence but teach them to adapt and respect ours as their owners and pack leader. That applies to all animals.
There is hope.
I hope this helps you!