Car idles great has no acceleration slam pedal to floor takes off on 2002 Buick Century

Car starts and idles great but has no acceleration unless you punch and than takes off. Replaced in line fuel filter, plugs, and cleaned E G R valve no change. Service Light flashed but still does not stay.on. when First start in morning runs the way. It should very briefly

Asked by for the 2002 Buick Century
any pending codes stored?