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 @@ -25,6 +25,7 @@ export const deepseek: Chatbot = {
2525 }
2626 check_for_element ( )
2727 } )
28+ await new Promise ( ( resolve ) => setTimeout ( resolve , 500 ) )
2829 } ,
2930 set_options : async ( options ?: string [ ] ) => {
3031 if ( ! options ) return
@@ -33,11 +34,9 @@ export const deepseek: Chatbot = {
3334 document . querySelectorAll ( 'div[role="button"]' )
3435 ) . find (
3536 ( button ) =>
36- button . textContent == 'DeepThink (R1)' ||
37- button . textContent == '深度思考 (R1)'
37+ button . textContent == 'DeepThink' || button . textContent == '深度思考'
3838 ) as HTMLElement
3939 const deep_think_button_style = window . getComputedStyle ( deep_think_button )
40- console . log ( deep_think_button_style . getPropertyValue ( '--ds-button-color' ) )
4140 if (
4241 deep_think_button_style . getPropertyValue ( '--ds-button-color' ) !=
4342 'transparent' &&
@@ -71,8 +70,8 @@ export const deepseek: Chatbot = {
7170 document . querySelectorAll ( 'div[role="button"]' )
7271 ) . find (
7372 ( button ) =>
74- button . textContent == 'DeepThink (R1) ' ||
75- button . textContent == '深度思考 (R1) '
73+ button . textContent == 'DeepThink' ||
74+ button . textContent == '深度思考'
7675 ) as HTMLElement
7776 const button_style = window . getComputedStyle ( deep_think_button )
7877 if (
Original file line number Diff line number Diff line change 44 "name" : " Code Web Chat Connector" ,
55 "short_name" : " CWC" ,
66 "description" : " Initialize 15+ free chatbots with your code and instructions. Parse websites into markdown to include in context." ,
7- "version" : " 1.27 .0" ,
7+ "version" : " 1.28 .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