New framework from Illinois and Cal-Berkeley researchers gives developers more control over how LLMs "think"