From 56e423105b6e7b6053a17c742e239fdf328b234f Mon Sep 17 00:00:00 2001 From: popcion Date: Mon, 30 Dec 2024 20:39:42 +0800 Subject: [PATCH] Update chatgpt.py --- manga_translator/translators/chatgpt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manga_translator/translators/chatgpt.py b/manga_translator/translators/chatgpt.py index 836276e9..fec375ae 100644 --- a/manga_translator/translators/chatgpt.py +++ b/manga_translator/translators/chatgpt.py @@ -357,7 +357,7 @@ async def _request_translation(self, to_lang: str, prompt: str) -> str: try: response = await self.client.chat.completions.create( - model='gpt-4o-mini', + model='gpt-4o', messages=messages, max_tokens=self._MAX_TOKENS // 2, temperature=self.temperature,