Skip to content

Commit 2623b1d

Browse files
committed
Update Gemini model display names from experimental to preview and bump extension version
1 parent 7e9b0b9 commit 2623b1d

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ export const gemini: Chatbot = {
5353
}
5454
}
5555
}
56-
} else if (model) {
57-
alert(`Model "${model}" is no longer supported.`)
5856
}
5957
},
6058
set_options: async (options: string[]) => {
@@ -90,7 +88,10 @@ export const gemini: Chatbot = {
9088
let has_eligible_block = false
9189
for (const code_block of Array.from(code_blocks)) {
9290
const first_line_text = code_block?.textContent?.split('\n')[0]
93-
if (first_line_text && extract_path_from_line_of_code(first_line_text)) {
91+
if (
92+
first_line_text &&
93+
extract_path_from_line_of_code(first_line_text)
94+
) {
9495
has_eligible_block = true
9596
break
9697
}

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": "Initialize any web chat with your code",
7-
"version": "0.1.71",
7+
"version": "0.1.72",
88
"homepage_url": "https://github.com/robertpiosik/CodeWebChat",
99
"icons": {
1010
"16": "icons/icon-16.png",

packages/shared/src/constants/chatbots.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ export const CHATBOTS = {
5151
default_top_p: 0,
5252
models: {
5353
'2.0-flash': '2.0 Flash',
54-
'2.5-flash-experimental': '2.5 Flash (experimental)',
55-
'2.5-pro-experimental': '2.5 Pro (experimental)'
54+
'2.5-flash-preview': '2.5 Flash (preview)',
55+
'2.5-pro-preview': '2.5 Pro (preview)'
5656
}
5757
},
5858
'Open WebUI': {

0 commit comments

Comments
 (0)