Skip to content

Commit

Permalink
Merge pull request #86 from colbyedell/main
Browse files Browse the repository at this point in the history
Added gpt-4o-mini.
  • Loading branch information
research-outcome authored Jul 19, 2024
2 parents 74605c1 + 3d35982 commit 0d19de4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions game-simulation/add-edit-llms.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ function modelSupportsText(modelName) {
// If the current model name supports images, return true.
function modelSupportsImages(modelName) {
return modelName === "gpt-4o" ||
modelName === "gpt-4o-mini" ||
modelName === "gpt-4-turbo" ||
modelName === "gemini-1.5-pro" ||
modelName === "gemini-1.5-flash" ||
Expand Down Expand Up @@ -160,6 +161,7 @@ export function updateAddModelFields(event) {
"<option value=\"gpt-3.5-turbo\">gpt-3.5-turbo</option>" +
"<option value=\"gpt-4\">gpt-4</option>" +
"<option value=\"gpt-4o\">gpt-4o</option>" +
"<option value=\"gpt-4o-mini\">gpt-4o-mini</option>" +
"<option value=\"gpt-4-turbo\">gpt-4-turbo</option>" +
"</select>";
document.getElementById("llm-name-container").style.display = "inline";
Expand Down
1 change: 1 addition & 0 deletions game-simulation/game-simulation.js
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,7 @@ document.addEventListener("DOMContentLoaded", async function() {
//addModel(new Model("OpenAI", "gpt-3.5-turbo", OPENAI_URL, OPENAI_API_KEY, true, false));
//addModel(new Model("OpenAI", "gpt-4", OPENAI_URL, OPENAI_API_KEY, true, false));
addModel(new Model("OpenAI", "gpt-4o", OPENAI_URL, OPENAI_API_KEY, true, true));
addModel(new Model("OpenAI", "gpt-4o-mini", OPENAI_URL, OPENAI_API_KEY, true, true));
addModel(new Model("OpenAI", "gpt-4-turbo", OPENAI_URL, OPENAI_API_KEY, true, true));
//addModel(new Model("Google", "gemini-pro", "URL is not needed since it is handled by the library.", GOOGLE_API_KEY, true, false));
addModel(new Model("Google", "gemini-1.5-pro", "URL is not needed since it is handled by the library.", GOOGLE_API_KEY, true, true));
Expand Down
3 changes: 2 additions & 1 deletion game-simulation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -584,8 +584,9 @@ <h1><strong>LLM Game Benchmark - Simulation & Data Collection</strong></h1>
<select id="llm-name">
<option value="gpt-3.5-turbo">gpt-3.5-turbo</option>
<option value="gpt-4">gpt-4</option>
<option value="gpt-4-turbo">gpt-4-turbo</option>
<option value="gpt-4o">gpt-4o</option>
<option value="gpt-4o-mini">gpt-4o-mini</option>
<option value="gpt-4-turbo">gpt-4-turbo</option>
</select>
</div>
<label for="llm-url" id="llm-url-label">URL: </label>
Expand Down

0 comments on commit 0d19de4

Please sign in to comment.