Skip to content

Commit 96b1825

Browse files
committed
Update Copilot model selection logic to use the correct 'Smart' button selector and remove the deprecated 'Study and learn' model option
1 parent 5febc92 commit 96b1825

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

  • packages

‎packages/browser/src/content-scripts/send-prompt-content-script/chatbots/copilot.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const copilot: Chatbot = {
2323
if (!model) return
2424

2525
const model_selector_button = document.querySelector(
26-
'button[data-testid="composer-chat-mode-quick-button"]'
26+
'button[data-testid="composer-chat-mode-smart-button"]'
2727
) as HTMLButtonElement
2828
if (!model_selector_button) {
2929
report_initialization_error({

‎packages/shared/src/constants/chatbots.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,9 @@ export const CHATBOTS = {
8484
Copilot: {
8585
url: 'https://copilot.microsoft.com/',
8686
models: {
87+
'smart-gpt-5': { label: 'Smart (GPT-5)' },
8788
'quick-response': { label: 'Quick response' },
8889
'think-deeper': { label: 'Think Deeper' },
89-
'study-and-learn': { label: 'Study and learn' },
90-
'smart-gpt-5': { label: 'Smart (GPT-5)' },
9190
search: { label: 'Search' }
9291
}
9392
} as Chatbot,

0 commit comments

Comments
 (0)