Yes I've upgraded OpenAI version to 1.3.7 as well but it's still outputting the same error. I'm using the Colab now and it's working fine as well for me
Ok I just remembered that I installled guardrails a long time ago in the VertexAI notebook so after uninstalling it, it now works. Sorry about that! And thank you for helping!