How do I pick AI to spawn from details panel?

So I made a spawner for my AI, I made the Spawn Delay variable and made that Editable from the details panel, but I want to be able to choose which AI and Behaviour tree to be able to use so I can use different spawner instances with any AI type instead of hard coding a new one. I tried a few things but I keep getting errors. Hardcoding works fine but this doesnt.

Nevermind I got it, the stupid nodes just needed to be refreshed.