microsoft/vscode · error · Error
Ollama server version ${versionInfo.version} is not supporte
Error message
Ollama server version ${versionInfo.version} is not supported. Please upgrade to version ${MINIMUM_OLLAMA_VERSION} or higher. Visit https://ollama.ai for upgrade instructions. What it means
Error "Ollama server version ${versionInfo.version} is not supported. Please upgrade to version ${MINIMUM_OLLAMA_VERSION} or higher. Visit https://ollama.ai for upgrade instructions." thrown in microsoft/vscode.
Source
Thrown at extensions/copilot/src/extension/byok/vscode-node/ollamaProvider.ts:213
callSite: 'ollama-show',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({ model: modelId })
});
return response.json() as unknown as OllamaModelInfoAPIResponse;
}
/**
* Check if the connected Ollama server version meets the minimum requirements
* @throws Error if version is below minimum or version check fails
*/
private async _checkOllamaVersion(ollamaBaseUrl: string): Promise<void> {
try {
const response = await this._fetcherService.fetch(`${ollamaBaseUrl}/api/version`, { method: 'GET', callSite: 'ollama-version' });
const versionInfo = await response.json() as OllamaVersionResponse;
if (!this._isVersionSupported(versionInfo.version)) {
throw new Error(
`Ollama server version ${versionInfo.version} is not supported. ` +
`Please upgrade to version ${MINIMUM_OLLAMA_VERSION} or higher. ` +
`Visit https://ollama.ai for upgrade instructions.`
);
}
} catch (e) {
if (e instanceof Error && e.message.includes('Ollama server version')) {
// Re-throw our custom version error
throw e;
}
// If version endpoint fails
throw new Error(
`Unable to verify Ollama server version. Please ensure you have Ollama version ${MINIMUM_OLLAMA_VERSION} or higher installed. ` +
`If you're running an older version, please upgrade from https://ollama.ai`
);
}
}
}View on GitHub (pinned to a94b963a32)
When it happens
Trigger: Thrown at extensions/copilot/src/extension/byok/vscode-node/ollamaProvider.ts:213 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of microsoft/vscode@a94b963a32 (2026-08-12).
Data as JSON: /api/errors/1f7d68b8e2a10ed3.
Report an issue: GitHub.