I have a similar issue
I’m also having the same problems.
I have found the issue. The models used in firebase are limited in output. The output is not as in api or ai studio, they limited it to save resource so the models don’t give the full answer. Asking to answer with full code without editing files, shows that the answers are incomplete
