Up to it's knowledge cut off Biden, was president and a Democrat.
It knows the current president is a democrat. It also knows that it's a bit further forward and that Kamala was running to be president and is Democrat.
Ergo: the current president must be Kamala Harris.