Skip to content

Commit

Permalink
Релиз 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tankalxat34 committed Mar 26, 2023
1 parent 1d29395 commit b55540e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "LMS RANEPA Helper",
"description": "Облегчает работу с СДО/ДПО РАНХиГС",
"author": "tankalxat34",
"version": "0.1.5",
"version": "0.2.0",
"homepage_url": "https://bit.ly/lms-ranepa-helper",


Expand All @@ -22,8 +22,6 @@
],

"permissions": [
"tabs",
"activeTab",
"storage",
"scripting",
"cookies",
Expand Down
2 changes: 1 addition & 1 deletion scripts/mod/quiz/attempt/attempt_front.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ function requestToChatGPT(content, uo, openai_model = "gpt-3.5-turbo") {
<h6>${data.choices[0].message.role[0] + data.choices[0].message.role.slice(1)} (${new Date().toLocaleTimeString()})</h6>
${html}
<div class="buttons" style="display: flex;">
<img src="https://upload.wikimedia.org/wikipedia/commons/4/48/Markdown-mark.svg" title="Скопировать ответ в Markdown" width=20px style="cursor: pointer;" onclick="navigator.clipboard.writeText(\`${data.choices[0].message.content.trim()}\`)">
<img src="https://upload.wikimedia.org/wikipedia/commons/4/48/Markdown-mark.svg" alt="Скопировать ответ в Markdown" title="Скопировать ответ в Markdown" width=20px style="cursor: pointer;" onclick="navigator.clipboard.writeText(\`${data.choices[0].message.content.trim()}\`)">
</div>
</div>`;
CONVERSATION.push({"role": "assistant", "content": data.choices[0].message.content});
Expand Down

0 comments on commit b55540e

Please sign in to comment.