what 引导 什么从句?

主句是keep sth in mind 结构。what从句为宾语。这是名词性关系分句。但what从句结构有误,what在从句中无成分可作了。可修改如下:

Ill keep what you have helped mewith in mind forever.

Ill keep what you have helped me to do in mind forever.

最好使用宾语后移:

Ill keep in mind forever what you have helped me with/to do.