Skip to content

Commit fb2c04d

Browse files
committed
- update api model versions to gpt-4o-mini
1 parent 3934c77 commit fb2c04d

23 files changed

+28
-28
lines changed

games/death_by_ai.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
method: 'POST',
8989
headers: {"Content-Type": "application/json", "Accept": "*/*"},
9090
body: JSON.stringify({
91-
model: "gpt-3.5-turbo",
91+
model: "gpt-4o-mini",
9292
max_tokens: 50,
9393
temperature: 0.7,
9494
messages: [{
@@ -149,7 +149,7 @@
149149
method: 'POST',
150150
headers: {"Content-Type": "application/json", "Accept": "*/*"},
151151
body: JSON.stringify({
152-
model: "gpt-3.5-turbo",
152+
model: "gpt-4o-mini",
153153
max_tokens: 150,
154154
temperature: 0.7,
155155
messages: [{

games/family_feud.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ <h3>About Family Feud Online</h3>
804804
try {
805805
const response = await fetch('https://chatgpt.tobiasmue91.workers.dev/', {
806806
method: 'POST', headers: {'Content-Type': 'application/json'}, body: JSON.stringify({
807-
model: 'gpt-3.5-turbo',
807+
model: 'gpt-4o-mini',
808808
max_tokens: 2048,
809809
messages: [{
810810
role: 'assistant',

games/mystery_ai.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1434,7 +1434,7 @@ <h3>The Truth</h3>
14341434
try {
14351435
const response = await fetch('https://chatgpt.tobiasmue91.workers.dev/', {
14361436
method: 'POST', headers: {"Content-Type": "application/json", "Accept": "**"}, body: JSON.stringify({
1437-
model: "gpt-3.5-turbo",
1437+
model: "gpt-4o-mini",
14381438
max_tokens: 2000,
14391439
temperature: 0.7,
14401440
messages: [{
@@ -1790,7 +1790,7 @@ <h3>The Truth</h3>
17901790
method:'POST',
17911791
headers:{"Content-Type":"application/json","Accept":"**"},
17921792
body:JSON.stringify({
1793-
model:"gpt-3.5-turbo",
1793+
model:"gpt-4o-mini",
17941794
max_tokens:700,
17951795
temperature:0.7,
17961796
messages: messages,

games/who_wants_to_be_a_millionaire.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ <h2>About Who Wants to Be a Millionaire</h2>
447447
questionContainer.innerText = `ChatGPT is generating questions for you. Please wait a moment. This process can take up to 40 seconds.\n\nWanna play some Hangman while waiting?\n\n`;
448448
questionContainer.innerHTML += `<iframe src="hangman.html" style="border: 0; width: 100%; height: 800px; box-shadow: 0 0 5px 1px rgba(0, 0, 0, 1);"></iframe>`
449449
const requestData = {
450-
model: "gpt-3.5-turbo",
450+
model: "gpt-4o-mini",
451451
max_tokens: 2048,
452452
messages: getMessageData(),
453453
};

games/word_search.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@
665665
method: 'POST',
666666
headers: {"Content-Type": "application/json", "Accept": "*/*"},
667667
body: JSON.stringify({
668-
model: "gpt-3.5-turbo",
668+
model: "gpt-4o-mini",
669669
max_tokens: 250,
670670
temperature: 0.8,
671671
messages: [{role: "assistant", content: botMessage}, {

tools/ai_code_explainer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1340,7 +1340,7 @@ <h2>{user.name}</h2>
13401340
"Accept": "*/*"
13411341
},
13421342
body: JSON.stringify({
1343-
model: "gpt-3.5-turbo",
1343+
model: "gpt-4o-mini",
13441344
max_tokens: 1500,
13451345
temperature: 0.3,
13461346
messages: [

tools/ai_game_challenge_generator.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ <h3 class="text-lg leading-6 font-medium text-gray-900 dark:text-white">Share Yo
753753
}, {
754754
role: 'system',
755755
content: `Generate a game challenge in markdown for ${this.gameTitle} with the following parameters set by the user: Challenge Type: ${challengeType}, Difficulty Level: ${this.difficultyLevel} (easy, medium, hard), Challenge Duration: ${this.challengeDuration} (short, medium, long, extra long), Craziness Factor: ${this.crazinessFactor} (0-100), Morbidity/Cruelty Level: ${this.morbidityLevel} (0-100)\nGenerate a fitting name for the challenge and incorporate all parameters into the description without mentioning them. The parameters do not affect the game itself, only the challenge!\nThe rules set by the challenge must be very specific and realistic. Use clear sections with ## headers for: "Challenge Overview", "Rules", "Scoring/Success Criteria", and "Tips".`
756-
}], model: "gpt-3.5-turbo", max_tokens: 3500, temperature: 0.7
756+
}], model: "gpt-4o-mini", max_tokens: 3500, temperature: 0.7
757757
}, {headers: {"Content-Type": "application/json", "Accept": "*/*"}});
758758
this.rawChallengeDescription = response.data.choices[0].message.content;
759759
this.challengeDescription = marked.parse(this.rawChallengeDescription, {

tools/ai_text_naturalizer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ <h4 class="font-semibold text-neutral-800 dark:text-neutral-100 mb-2">Creative W
439439
method: "POST",
440440
headers: {"Content-Type": "application/json", "Accept": "*/*"},
441441
body: JSON.stringify({
442-
model: "gpt-3.5-turbo",
442+
model: "gpt-4o-mini",
443443
max_tokens: 500,
444444
temperature: 1.3,
445445
top_p: 1,

tools/argumentator/argumentator.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,14 +299,14 @@ <h2 @click="toggleFavorites" id="favorite-headline" v-if="favoriteArguments.leng
299299
},
300300
requestData() {
301301
return {
302-
model: "gpt-3.5-turbo",
302+
model: "gpt-4o-mini",
303303
max_tokens: 2048,
304304
messages: this.messageData,
305305
};
306306
},
307307
requestCounterData() {
308308
return {
309-
model: "gpt-3.5-turbo",
309+
model: "gpt-4o-mini",
310310
max_tokens: 2048,
311311
messages: this.counterMessageData,
312312
};

tools/daily_quote_generator.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ <h2 class="font-semibold text-lg">How to Use Daily Quote Generator</h2>
170170
method: 'POST',
171171
headers: {"Content-Type": "application/json", "Accept": "*/*"},
172172
body: JSON.stringify({
173-
model: "gpt-3.5-turbo",
173+
model: "gpt-4o-mini",
174174
max_tokens: 150,
175175
temperature: creativity * 2,
176176
messages: [

0 commit comments

Comments
 (0)