Skip to content

Commit e022876

Browse files
committed
Correct Gemini model selection by adjusting the target element
1 parent 1a9b62b commit e022876

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/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
@@ -43,7 +43,7 @@ export const gemini: Chatbot = {
4343
)
4444
for (const option of model_options) {
4545
const name_element = option.querySelector(
46-
'.title-and-description > span:first-child'
46+
'.title-and-description > span:last-child'
4747
)
4848
if (
4949
name_element &&

packages/browser/src/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"name": "Code Web Chat Connector",
55
"short_name": "CWC",
66
"description": "Initializes chatbots and lets you manage websites for context.",
7-
"version": "1.5.0",
7+
"version": "1.6.0",
88
"homepage_url": "https://github.com/robertpiosik/CodeWebChat",
99
"icons": {
1010
"16": "icons/icon-16.png",

0 commit comments

Comments
 (0)