Skip to content

Commit

Permalink
fix: corrected openAI model name
Browse files Browse the repository at this point in the history
  • Loading branch information
shivaji43 committed Feb 12, 2025
1 parent 1003017 commit f162620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/next/config/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { ChatDeepSeek } from "@langchain/deepseek";
export async function initializeAgent(modelName: string) {
const llm = modelName?.includes("OpenAI")
? new ChatOpenAI({
modelName: "gpt-4o-turbo",
modelName: "gpt-4o-mini",
temperature: 0.3,
apiKey: process.env.OPENAI_API_KEY!,
})
Expand Down

0 comments on commit f162620

Please sign in to comment.