Skip to content

Commit 23b7357

Browse files
authored
chore: Use gpt-4o-mini as default (#173)
1 parent bd4714c commit 23b7357

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.changeset/strong-dryers-punch.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"create-llama": patch
3+
---
4+
5+
Use gpt-4o-mini as default model

helpers/providers/openai.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { questionHandlers } from "../../questions";
88

99
const OPENAI_API_URL = "https://api.openai.com/v1";
1010

11-
const DEFAULT_MODEL = "gpt-3.5-turbo";
11+
const DEFAULT_MODEL = "gpt-4o-mini";
1212
const DEFAULT_EMBEDDING_MODEL = "text-embedding-3-large";
1313

1414
export async function askOpenAIQuestions({

templates/types/streaming/express/src/controllers/engine/settings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const initSettings = async () => {
5555

5656
function initOpenAI() {
5757
Settings.llm = new OpenAI({
58-
model: process.env.MODEL ?? "gpt-3.5-turbo",
58+
model: process.env.MODEL ?? "gpt-4o-mini",
5959
maxTokens: process.env.LLM_MAX_TOKENS
6060
? Number(process.env.LLM_MAX_TOKENS)
6161
: undefined,

0 commit comments

Comments
 (0)