It is the 3 way valve itself [ the part above spout]

You can replace the assembly but I would check for debris build up / stuck valve. Sometimes you can disassemble it and clean it.
Click on the link and look at the picture so you'll get the idea.
Look at illustration #23 on old style and #8 on new style......