Skip to content

Commit

Permalink
fix: ms copilot style
Browse files Browse the repository at this point in the history
  • Loading branch information
F33RNI committed May 15, 2024
1 parent 7a800b4 commit 8ca5c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lmao/ms_copilot/ms_copilot_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
# JS script that sets conversation style (WORKS ONLY ON NEW CONVERSATIONS). Pass 1 / 2 / 3 as argument
# (1 - Creative, 2 - Balanced, 3 - Precise)
_SET_STYLE = """
document.querySelector("#b_sydConvCont > cib-serp").shadowRoot.querySelector("#cib-conversation-main").shadowRoot.querySelector("#cib-chat-main > div > cib-welcome-container").shadowRoot.querySelector("div.controls > cib-tone-selector").shadowRoot.querySelector("#tone-options > li:nth-child(" + arguments[0] + ") > button").click();
document.querySelector("#b_sydConvCont > cib-serp").shadowRoot.querySelector("#cib-conversation-main").shadowRoot.querySelector("#cib-chat-main > cib-welcome-container").shadowRoot.querySelector("div.controls > cib-tone-selector").shadowRoot.querySelector("#tone-options > li:nth-child(" + arguments[2] + ") > button").click();
"""

# JS script that returns "Stop responding" button
Expand Down

0 comments on commit 8ca5c61

Please sign in to comment.