Skip to content

Commit 3615d23

Browse files
committed
Update Gemini model menu selector to target gem-menu-item elements
- effort selection works with no issues but changing model seems to be broken now [Pasted text]
1 parent a00da60 commit 3615d23

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/browser/src/content-scripts/send-prompt-content-script/chatbots

‎apps/browser/src/content-scripts/send-prompt-content-script/chatbots/gemini.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export const gemini: Chatbot = {
6060
return
6161
}
6262
const model_options = Array.from(
63-
menu_content.querySelectorAll('[role="menuitem"]')
63+
menu_content.querySelectorAll('gem-menu-item')
6464
)
6565
let found = false
6666
for (const option of model_options) {

0 commit comments

Comments
 (0)