Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/extension/conversation/vscode-node/languageModelAccess.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,9 @@ export class LanguageModelAccess extends Disposable implements IExtensionContrib
}

const models: vscode.LanguageModelChatInformation[] = [];
const chatEndpoints = (await this._endpointProvider.getAllChatEndpoints()).filter(e => e.showInModelPicker || e.model === 'gpt-4o-mini');
const autoEndpoint = await this._automodeService.resolveAutoModeEndpoint(undefined, chatEndpoints);
const allEndpoints = await this._endpointProvider.getAllChatEndpoints();
const chatEndpoints = allEndpoints.filter(e => e.showInModelPicker || e.model === 'gpt-4o-mini');
const autoEndpoint = await this._automodeService.resolveAutoModeEndpoint(undefined, allEndpoints);
chatEndpoints.push(autoEndpoint);
let defaultChatEndpoint: IChatEndpoint | undefined;
const defaultExpModel = this._expService.getTreatmentVariable<string>('chat.defaultLanguageModel')?.replace('copilot/', '');
Expand Down
Loading