Did she actually say she doesn't know what to do with you anymore? (I am not doubting you, just trying to understand.) I'm sure others might have a different opinion, but honestly, 18 months doesn't sound like SO long that it should be the end of trying, especially if progress has been made. Have you talked about that progress, because it shows that you are obviously doing something right, maybe it just still will take time for you to be able to handle working?
I hope you'll talk about this and that she truly isn't intending to give up. My own t keeps saying that things happen on their own as we're ready for them to, we can't put a time limit on things, and I've found that to be true. Regardless of what happens with this T, you sound like a kind and smart person and you will get unstuck and be okay. But I wouldn't want to leave a therapist I really like and have established a good relationship with, either.