Are you using the same versions for GenKit and GenKit-AI/Firebase? They should both be the same. They're currently at version 1.0.5.
1.0.5.