New configuration page of Visual Studio Code GitHub Copilot allows you to specify a model hosted in Azure Foundry

enter image description here

The process is simple, but I mistakenly pasted the wrong API key. The problem is that now I'm unable to find where VSCode stores this value. I can find the value in the settings, but API Key clearly is not stored there.

    "github.copilot.chat.azureModels": {
        "o3-pro": {
            "name": "o3-pro",
            "url": "https://xxxxx.openai.azure.com/",
            "toolCalling": true,
            "vision": true,
            "thinking": true,
            "maxInputTokens": 128000,
            "maxOutputTokens": 4096
        }
    }

I've also Remove the configuration from user settings then Close completely Code Insiders.

Now when I reopen it, going into manage model windows somewhat reinitialized everything so I can re-run the azure wizard again, but it never asked me for the api-key, and continue to use the wrong inserted one.

1 Reply 1

Your Reply

By clicking “Post Your Reply”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.