File tree Expand file tree Collapse file tree
content-scripts/send-prompt-content-script/chatbots Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff 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' : {
You can’t perform that action at this time.
0 commit comments