I ran into the same issue in my project (throwing a Undefined types error when doing recursive generation) and I can confirm my project which was failing in Beta 2 is now working in Beta 3.
Hope it's working for the original poster too!
Topic:
Machine Learning & AI
SubTopic:
Foundation Models