Visual Studio 2022 not reading/applying ConfiguredBringYourOwnModel_v1.json
What would cause Visual Studio 2022 to not read/apply "ConfiguredBringYourOwnModel_v1.json"?
On my machine with both Visual Studio 2022 and Visual Studio 2026, I've configured Visual Studio 2026's GitHub Copilot to use Ollama and my custom models show up in both versions of Visual Studio.
However, a co-worker only has Visual Studio 2022 installed and even though they manually copy the same json file to "%LOCALAPPDATA%\Microsoft\VisualStudio\Copilot\BringYourOwnModel\ConfiguredBringYourOwnModel_v1.json", the custom models are not available for selection.
What is the missing piece to activate BYOM with an Ollama Provider in Visual Studio 2022?
We are using the latest versions of Visual Studio 2022 and using a GitHub account not tied to an Enterprise organization.
[
{
"Name": "Ollama",
"IsApiKeyAvailable": true,
"Models": [
{
"ProviderName": "Ollama",
"IsCustom": false,
"IsSelected": true,
"CustomURL": "http://localhost:11434",
"Id": "My Custom Model",
"DisplayName": "My Custom Model",
"IsToolCallingEnabled": true,
"IsVisionEnabled": true,
"MaxInputTokens": 1000000,
"MaxOutputTokens": 8192
}
],
"Endpoint": 10
}
]
Thank you.