Skip to main content

Github Copilot–New models added

The list of available models in Github Copilot keeps growing. Whereas last year you could already use GPT-4o, o1, o1-mini and Claud Sonnet 3.5, now you can also try OpenAI o3 and Google Gemini 2.0 Flash.

About Gemini 2.0 Flash

The Gemini 2.0 Flash model is a highly efficient, large language model (LLM) designed for high-volume, high-frequency tasks. It excels in multimodal reasoning, handling inputs like text, images, and audio, and providing text outputs. With a context window of 1 million tokens, it can process vast amounts of information quickly and accurately. Gemini 2.0 Flash is optimized for speed and practicality, making it ideal for everyday tasks, coding, and complex problem-solving.

GitHub Copilot uses Gemini 2.0 Flash hosted on Google Cloud Platform (GCP). When using Gemini 2.0 Flash, prompts and metadata are sent to GCP, which makes the following data commitment: Gemini doesn't use your prompts, or its responses, as data to train its models.

About OpenAI o3

The OpenAI o3 model is a generative pre-trained transformer designed for advanced reasoning and problem-solving tasks. It builds on the capabilities of its predecessor, the o1 model, and is optimized for complex tasks like coding, mathematics, and science1. The o3 model features improved logical reasoning, better memory retention, and enhanced problem-solving capabilities. It also includes a smaller variant, o3-mini, which offers similar functionalities with reduced computational requirements.

Activating these models

If you have an individual Copilot license, you can activate these models using the following steps:

  • On any Github page, click on your profile in the top right corner, and click on Your Copilot:

  • You arrive on the Copilot settings page, where you can enable the new models:

 

If your Copilot license is managed through an organization, you can activate these models using the following steps:

  • On any Github page, click on your profile in the top right corner, and click on Your organizations:

  • Click on Settings for the organization you want to configure.
  • Go to Copilot in the Code, planning, automation section and select Models from the dropdown:

  • Change the settings to Enabled for the models that you want to allow:

 

That’s it!

More information

Multi model support in Github Copilot

Using Gemini 2.0 Flash in GitHub Copilot - GitHub Docs

The next chapter of the Gemini era for developers - Google Developers Blog

Popular posts from this blog

Podman– Command execution failed with exit code 125

After updating WSL on one of the developer machines, Podman failed to work. When we took a look through Podman Desktop, we noticed that Podman had stopped running and returned the following error message: Error: Command execution failed with exit code 125 Here are the steps we tried to fix the issue: We started by running podman info to get some extra details on what could be wrong: >podman info OS: windows/amd64 provider: wsl version: 5.3.1 Cannot connect to Podman. Please verify your connection to the Linux system using `podman system connection list`, or try `podman machine init` and `podman machine start` to manage a new Linux VM Error: unable to connect to Podman socket: failed to connect: dial tcp 127.0.0.1:2655: connectex: No connection could be made because the target machine actively refused it. That makes sense as the podman VM was not running. Let’s check the VM: >podman machine list NAME         ...

Azure DevOps/ GitHub emoji

I’m really bad at remembering emoji’s. So here is cheat sheet with all emoji’s that can be used in tools that support the github emoji markdown markup: All credits go to rcaviers who created this list.

Cleaner switch expressions with pattern matching in C#

Ever find yourself mapping multiple string values to the same result? Being a C# developer for a long time, I sometimes forget that the C# has evolved so I still dare to chain case labels or reach for a dictionary. Of course with pattern matching this is no longer necessary. With pattern matching, you can express things inline, declaratively, and with zero repetition. A small example I was working on a small script that should invoke different actions depending on the environment. As our developers were using different variations for the same environment e.g.  "tst" alongside "test" , "prd" alongside "prod" .  We asked to streamline this a long time ago, but as these things happen, we still see variations in the wild. This brought me to the following code that is a perfect example for pattern matching: The or keyword here is a logical pattern combinator , not a boolean operator. It matches if either of the specified pattern...