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 @@ -48,7 +48,6 @@ export const ai_studio: Chatbot = {
4848 model_selector . click ( )
4949 await new Promise ( ( r ) => requestAnimationFrame ( r ) )
5050 const model_options = Array . from ( document . querySelectorAll ( 'mat-option' ) )
51- console . log ( model_options )
5251 for ( const option of model_options ) {
5352 const model_name_element = option . querySelector (
5453 'ms-model-option span.model-name'
@@ -336,9 +335,7 @@ export const ai_studio: Chatbot = {
336335 'ms-chat-turn .turn-footer'
337336 )
338337 all_footers . forEach ( ( footer ) => {
339- if (
340- footer . querySelector ( 'mat-icon' ) ?. textContent ?. trim ( ) == 'thumb_up'
341- ) {
338+ if ( footer . querySelector ( 'button[iconname="thumb_up"]' ) ) {
342339 show_response_ready_notification ( { chatbot_name : 'AI Studio' } )
343340 add_buttons ( {
344341 footer
Original file line number Diff line number Diff line change 44 "name" : " Code Web Chat Connector" ,
55 "short_name" : " CWC" ,
66 "description" : " Initialize 15+ chatbots and manage websites for context." ,
7- "version" : " 1.21 .0" ,
7+ "version" : " 1.22 .0" ,
88 "homepage_url" : " https://github.com/robertpiosik/CodeWebChat" ,
99 "icons" : {
1010 "16" : " icons/icon-16.png" ,
You can’t perform that action at this time.
0 commit comments