From 79eb20bcca35d0cad3591c695144ddd64bf41f8d Mon Sep 17 00:00:00 2001
From: yoannchb-pro <71560747+yoannchb-pro@users.noreply.github.com>
Date: Wed, 29 Mar 2023 19:55:22 -0400
Subject: [PATCH] v1.0.1
---
CHANGELOG.md | 5 +++
README.md | 13 ++++----
assets/popup.png | Bin 50620 -> 43120 bytes
extension/moodle-gpt.js | 6 ++--
extension/moodle-gpt.js.map | 2 +-
extension/popup/index.html | 25 ++++++++++-----
extension/popup/index.js | 54 +++++++++++++++++++++++++++++----
extension/popup/style.css | 9 ++++++
package.json | 2 +-
src/core/get-response.ts | 3 +-
src/core/normalize-question.ts | 6 +---
src/types/config.d.ts | 1 -
12 files changed, 91 insertions(+), 35 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0321e9a..5c17867 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,10 @@
# CHANGELOG
+## v1.0.1
+
+- Removed langage
+- Added a button next to model to get the last ChatGPT version
+
## v1.0.0
- Initial commit
diff --git a/README.md b/README.md
index bb6dd8b..a0d4bd7 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
href="https://www.flaticon.com/free-icons/mortarboard" target="_blank" rel="noopener noreferrer"
title="Mortarboard icons created by itim2101 - Flaticon" >![]()
-- Api key\*: the openai api key.
-- Code\*: code that you will need to inject/remove the code.
-- Langage: the langage you want chatgpt reply (if it's not set it will take the question langage).
-- GPT Model: the gpt model you want to use (by default it's "gpt-3.5-turbo").
+- Api key: the openai api key.
+- Code: code that you will need to inject/remove the code.
+- GPT Model: the gpt model you want to use (by default it's "gpt-3.5-turbo"). You can click on the reload button to get the latest version of available gpt model for your account but you need to enter the api key first.
- Cursor indication: show a pointer cursor and a hourglass to know when the request is finished.
- Title indication: show some informations into the title to know for example if the code have been injected.
-- Request timeout: If the request is too long it will be abort after 10seconds.
+- Request timeout: if the request is too long it will be abort after 10seconds.
- Typing effect: create a typing effect for text. Type any text and it will be replaced by the correct one. If you want to stop it press Backspace key.
M8-9|HZrF#aK{0ido^yMN+HaQ`kH(+y+R-7pG0Rf72NH+XSm6eq9GWNJv)U8z
zG@h^Ni7a(^=~Wsq Po-+lQNU} I>`i4NMC0AjSD!l3ww8X~UY;%IredjuiDaZg#i
z;rLa_9xIMt{39M>U1crD^w_ZGJ}?7LP*9Nm_0pppU-%dPTyMUC#x $H=Qei_1L2}5LS~{
z8eIt_IcB^vtiS_z?SzQKWiOwH1`S!i!W|_3Lb*^2sjxjtpl#)L%_=+3$G$gR)MM01
z{DueJrO`tehsx!=Tih+^joGWvAfVrCj2+96I=)C6lFMmE$|laO(Ks%WXLTvzTr;yw
zF|M^Qmld?t6V;=}*&P(oNTToPr?KL_IKN}Mn6E#EOuih%MJ9|e9@kC}Wt~YDHWC3*
zT_|x!XSThwY`P2`_j-n{_4C>$JWKZIA^SS2-5%TKmWjC8@kX~WP8LH-|AmlilT8Sb
z>rgz+hhp#C8QKLe2OEd33qGPt+d&;Vc9Bp{wvj?EKGr+tW~q#v>#GMq=a}Dj_iv{p
znW>F;Ti!&zNj9kdR|blrjQML6kyfEG0P
z((>~Yxb3@tcSMJ>hQu4?7Y+*6c?Jds%Z1h|a&6Q3LQ$oqG;?!vn
zbTm?}aWA==np$ObbGKeRd@D9hH=k+$+ghV;VoFNN
QTLzVe%iWjg?$PSmnKi2_0y)trXGu2t%r@+bV7u~?~&hT$wf>u
zmds&|510-<1V-tCk%78Gc1{k^9s<>e5+^+!1KLw+D#T0_dxpObq}-2k=8jUJaUgYt
zPyRvc?GC_d;=&pxI}4V=zX&&oZpkoMe6FsOF{_s;N_eSenbxEuHHQEP%;8n9MRN#~
zs~VLOUINFRK?u(dK;)`cehWD=@#Yp
!_Apd|Gz(F*>