Extreme weight loss during pregnancy

At the start of my pregnancy I weighed 144, I now weigh 98 pounds at 24 weeks. Everything I eat or drink I throw up, I am constantly dehydrated my doctor has me coming in to get weekly IVs. I was prescribed two medicines that have not worked, I've tried small meal and crackers, gingerale. My doctor said my pregnancy is becoming very dangerous for me and baby, and is looking for options on how to proceed. Has this happened to anyone else, any magical remedies you found?