The sentence written in the active voice is:
"The chef put a chili pepper in the sauce to add flavor."
In this sentence, the subject (the chef) performs the action (putting a chili pepper in the sauce). The other sentences are in passive voice, where the action is performed on the subject.