File tree Expand file tree Collapse file tree
Extension/src/LanguageServer/Providers Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments