Skip to content

Commit 0dcaf5d

Browse files
committed
fixup 4o model name
1 parent 5e9b522 commit 0dcaf5d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

bun/options.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const DEFAULT_OPTIONS: MagentaOptions = {
1414
model: "claude-3-5-sonnet-20241022",
1515
},
1616
openai: {
17-
model: "4o",
17+
model: "gpt-4o",
1818
},
1919
};
2020

bun/providers/openai.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import type { Stream } from "openai/streaming.mjs";
99
import { DEFAULT_SYSTEM_PROMPT } from "./constants.ts";
1010

1111
export type OpenAIOptions = {
12-
model: "4o";
12+
model: "gpt-4o";
1313
};
1414

1515
export class OpenAIProvider implements Provider {

lua/magenta/init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ local M = {}
44
M.defaults = {
55
provider = "anthropic",
66
openai = {
7-
model = "4o"
7+
model = "gpt-4o"
88
},
99
anthropic = {
1010
model = "claude-3-5-sonnet-20241022"

0 commit comments

Comments
 (0)