Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 1 addition & 2 deletions src/vs/workbench/contrib/chat/browser/widget/media/chat.css
Original file line number Diff line number Diff line change
Expand Up @@ -1020,14 +1020,13 @@ have to be updated for changes to the rules above, or to support more deeply nes

.interactive-session .chat-editing-session .chat-editing-session-actions .monaco-button.secondary.monaco-text-button.codicon {
cursor: pointer;
padding: 3px;
padding: 2px;
border-radius: 4px;
display: inline-flex;
}

.interactive-session .chat-editing-session .chat-editing-session-actions .monaco-button.secondary.monaco-text-button {
background-color: var(--vscode-button-secondaryBackground);
border: 1px solid var(--vscode-button-border);
color: var(--vscode-button-secondaryForeground);
}

Expand Down
10 changes: 8 additions & 2 deletions src/vs/workbench/contrib/chat/common/languageModels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -553,8 +553,14 @@ export class LanguageModelsService implements ILanguageModelsService {
allModels.push(...models);
const modelIdentifiers = [];
for (const m of models) {
// Special case for copilot models - they are all user selectable unless marked otherwise
if (vendorId === 'copilot' && (m.metadata.isUserSelectable || this._modelPickerUserPreferences[m.identifier] === true)) {
if (vendorId === 'copilot') {
// Special case for copilot models - they are all user selectable unless marked otherwise
if (m.metadata.isUserSelectable || this._modelPickerUserPreferences[m.identifier] === true) {
modelIdentifiers.push(m.identifier);
} else {
this._logService.trace(`[LM] Skipping model ${m.identifier} from model picker as it is not user selectable.`);
}
} else {
modelIdentifiers.push(m.identifier);
}
}
Expand Down
Loading