[feature] add chat v2 and engine v3