Skip to content

Commit

Permalink
set default model to gpt-4-turbo
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaki-1052 committed Mar 21, 2024
1 parent 558594f commit 840b98e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ fetchConfig();
};



// Set the Default Model

// Default model functionality
function setDefaultModel() {
let selectedModelDiv = document.getElementById("selected-model");
let defaultModel = "gpt-4";
let defaultModel = "gpt-4-turbo-preview";

// Check if a model has been selected, if not, set to default model ID and update display
if (selectedModelDiv.textContent.trim() === "Select a Model") {
Expand All @@ -93,7 +93,7 @@ fetchConfig();
}
}

let currentModelID = 'gpt-4'; // Global declaration
let currentModelID = 'gpt-4-turbo-preview'; // Global declaration

let selectedImage = null;

Expand Down

0 comments on commit 840b98e

Please sign in to comment.