Gemini in Google Colab is outdated

THE GEMINI MODEL IN GOOGLE COLAB DOESN’T KNOW HOW TO USE THE GEMINI API

This came as a surprise to me last week when I was working on a project with the Gemini API. I tried to use the coding assistant in Colab to set up the API and do some simple, basic tasks, but it gave me funny responses.

In the first task, I one-shotted it to connect me to an API and test a prompt, but it responded with the OpenAI API. I mean, the thing is marketing OpenAI for you. I know it’s because Gemini was a little late in the game, but that’s a big liability. I believe the model should be trained, especially on Google tools and products.

In the second prompt I made, I was specific about the Gemini API and even the version, but it used a previous version in its generated code. It had absolutely no idea how to use it. Besides, the context window’s so small that there is no way I can fit a guide in the prompt (if I even had one).

This spoiled my day, and I had to go through the developer docs to navigate the issue.

I hope Google fixes the issue as soon as possible.