Skip to content

Commit bc9a72c

Browse files
authored
Switch to GPT-4o. (#14364)
1 parent 291e5a3 commit bc9a72c

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Extension/src/LanguageServer/Providers/CopilotHoverProvider.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,12 @@ export class CopilotHoverProvider implements vscode.HoverProvider {
4141
const vscodelm = getVSCodeLanguageModel();
4242
if (vscodelm) {
4343
try {
44-
// First look for GPT-5-mini which should be available to all
44+
// First look for GPT-4o which should be available to all
4545
// users and have a 0x multiplier on paid plans.
46-
let [model] = await vscodelm.selectChatModels({ ...modelSelector, id: 'gpt-5-mini' });
46+
// GTP-4o is faster than GPT-5-mini (which seems too slow for hover, e.g. 10+ seconds).
47+
let [model] = await vscodelm.selectChatModels({ ...modelSelector, id: 'gpt-4o' });
4748
if (!model) {
48-
// If GPT-5-mini is not available, fall back to the first available model
49+
// If GPT-4o is not available, fall back to the first available model.
4950
[model] = await vscodelm.selectChatModels(modelSelector);
5051
}
5152
if (!model) {

0 commit comments

Comments
 (0)