Skip to content

Commit

Permalink
V1.8.3 - Fixed images crashing the conversation and added a no stream…
Browse files Browse the repository at this point in the history
…ing setting.

No streaming on the client-side proved to improve the performance a lot
  • Loading branch information
Raadsl committed Aug 12, 2024
1 parent 0765fca commit 44085d0
Show file tree
Hide file tree
Showing 4 changed files with 211 additions and 119 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ A little ChatGPT in your Replit editor. If you open a file with GPT-replit, the
## Usage:
Open GPT-Replit in a pane and press the + button, now a pop-up should open. Choose the file(s) you want the AI to know. Now you can ask questions about the code in the file(s). Press the microphone to use your voice to ask questions. The gear icon can be pressed to customize the response.

V1.7.1
12-5-24: 11030 downloads
V1.8.3
12-5-24: 11030 installs
12-8-24: 12006 installs
4 changes: 2 additions & 2 deletions extension.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "GPT-Replit - ChatGPT in your Repl.",
"description": "A little ChatGPT in your Replit editor that can view your files (if you want).",
"longDescription": "# Replit-GPT\n\nA little ChatGPT in your Replit editor. If you open files with GPT-replit, the file contents will be passed to the AI so you can ask questions about it.\n\n## Usage:\nOpen GPT-Replit in a pane and press the + button, now a pop-up should open. Choose the file(s) you want the AI to know. Now you can ask questions about the code in the file(s). Press the microphone to use your voice to ask questions. The gear icon can be pressed to customize the response. And when the right model is selected you can upload images to the conversation",
"longDescription": "# Replit-GPT\n\nA little ChatGPT in your Replit editor. If you open files with GPT-replit, the file contents will be passed to the AI so you can ask questions about it.\n\n## Usage:\nOpen GPT-Replit in a pane and press the + button, now a pop-up should open. Choose the file(s) you want the AI to know. Now you can ask questions about the code in the file(s). Press the microphone to use your voice to ask questions. The gear icon can be pressed to customize the response. And when the right model is selected you can upload images to the conversation\n\n## Suggestions:\nEnable the noyap setting, and the no streaming setting for the best performance and best responses. \nAlso if you are asking the AI a question about your codebase it may be smart to share the Directory structure using the add-file button.",
"tags": ["ChatGPT", "GPT", "GPT-4", "AI assistant", "GPT-3", "Raadsel", "read files", "voice", "chat", "code help", "image", "multimodal"],
"icon": "icon.svg",
"website": "https://raadsl.github.io",
Expand Down Expand Up @@ -35,7 +35,7 @@
},
{
"title": "Chat with GPT using different models.",
"body": "You can choose with which models you want to talk to. We have some preset, `GPT-4o`, `GPT-4 Turbo`, `GPT-4`, `GPT-4 32K` and `GPT-3.5 Turbo`, but you can enter other models.",
"body": "You can choose with which models you want to talk to. We have some preset, `GPT-4o`, `GPT-4 Turbo`, `GPT-4`, `GPT-4 32K` and `GPT-3.5 Turbo`, but you can enter other models. You can even choose if you want the AI to stream the response or use the more performance no streaming setting.",
"image": "/coverpageImg2.png"
},

Expand Down
11 changes: 9 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,12 @@
setTimeout(function() {
loadingScreen.style.display = 'none';
}, 450);
console.log("[Replit-GPT] loaded! V1.8.2")
console.log("[Replit-GPT] loaded! V1.8.3")
</script>
</head>
<body>
<div id="loading-screen" aria-labelledby="loading-screen">
<div title="We're initializing the extension" class="ring"> V1.8.2
<div title="We're initializing the extension" class="ring"> V1.8.3
<circlespan></circlespan>
<p>Initialising</p>
</div>
Expand Down Expand Up @@ -236,6 +236,13 @@
<input id='noyap-btn' type="checkbox">
<span class="checkbox-mark"></span>
</label>
<!-- Add this inside the settings modal -->
<label title='Disable streaming to wait for full response. If you enable this setting the performance could increase significantly' class="checkbox-container">
Disable Streaming
<input id='disable-streaming' type="checkbox">
<span class="checkbox-mark"></span>
</label>

<!--
<label title='Toggle display of error messages in the console. This will still show error messages in the chat history and replit alerts.' class="checkbox-container">
Show Error Messages
Expand Down
Loading

0 comments on commit 44085d0

Please sign in to comment.