* fix: make retain max completion tokens configurable * fix: make retain max completion tokens configurable