feat: Update Azure chat model to use "gpt4o-mini" instead of "gpt-4o-mini"

This commit is contained in:
zaidmukaddam 2024-09-03 14:55:48 +05:30
parent e63f15a53a
commit 44551e456b

View File

@ -41,7 +41,7 @@ export async function POST(req: Request) {
let model; let model;
if (provider === "azure") { if (provider === "azure") {
model = azure.chat("gpt-4o-mini"); model = azure.chat("gpt4o-mini");
} else if (provider === "openai") { } else if (provider === "openai") {
model = openai.chat("gpt-4o-mini"); model = openai.chat("gpt-4o-mini");
} else { } else {