What options has the vet given? After 2yrs I would think a vet would have come up with something that worked. It would be helpful to know what she has been tested for (parasites, bloodwork, stool, etc.), how often, what, if any results were off.
Because there are so many parts to the GI tract (stomach, intestine, bowel...) the possibilities are enormous. To narrow it down, we need as much information as you can offer. There are no "right or wrong" answers, just the hope that something you mention might be the key to someone recognizing something familiar that will help you solve this (lets give her an imaginary latex allergy and her favorite toy is made from latex rubber, or her favorite mat is latex backed...It could easily be something as weirdly simple as that).
How frequently is she fed, and what amounts; how much/how often does she drink? How long between eating and pooping 1-2 hours or 8-10? Not to be gross, but is her stool like gravy, or more like a broth soup with chunks? That helps point to what part of the GI tract that is not doing its job.
What types of food have you tried; what "treats" does she get (anything not an actual meal); surfaces she most prefers to lie on; toys she gravitates to; supplements or meds she has been or is currently on.
Perhaps it is time to research things like ulcers, colitis, any and all things GI. Perhaps there is a "mechanical issue" and an x-ray, endoscopic look at the stomach, or a barium swallow to see how things "move" might be in order...
Is it time to try a new vet?
I don't think I could have been as patient as you, she is lucky to have someone so willing to accept her as she is.