The optimal choice in situations like these is most likely to gain wizard and cleric levels until you can take Dweomerkeeper. It's probably what I would do.