From 63fafa6403ed689f397b11af9f9a6877dfbbbf2a Mon Sep 17 00:00:00 2001 From: webbrain-one <295484252+webbrain-one@users.noreply.github.com> Date: Tue, 28 Jul 2026 10:23:19 +0300 Subject: [PATCH] Fix language selection crash in EditorAI Resolve issue where users were unable to add vocabulary after creating a new language. --- app/(utils)/EditorAI.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/(utils)/EditorAI.tsx b/app/(utils)/EditorAI.tsx index 3edff89..b898f51 100644 --- a/app/(utils)/EditorAI.tsx +++ b/app/(utils)/EditorAI.tsx @@ -59,7 +59,7 @@ export default function EditorAI({ editor }: { editor: any }) { setPrompt(""); const openai = createOpenAI({ apiKey: apikey }); const { textStream } = streamText({ - model: openai("gpt-5.5"), + model: openai("gpt-4o"), system: "You are a helpful assistant who helps with language learning.", prompt, });