Researchers say internal emotion-like signals shape how large language models make decisions.