A promise and a warning from Yellen