From 80f77592cc0127cdbfbab056b6ae0fa3d7a708f6 Mon Sep 17 00:00:00 2001 From: popcion Date: Wed, 1 Jan 2025 04:22:48 +0800 Subject: [PATCH] Switch to a dynamically updated model --- 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 4c80369a..d56f5394 100644 --- a/manga_translator/translators/chatgpt.py +++ b/manga_translator/translators/chatgpt.py @@ -439,7 +439,7 @@ async def _request_translation(self, to_lang: str, prompt: str) -> str: try: response = await self.client.chat.completions.create( - model='gpt-4o', + model='chatgpt-4o-latest', messages=messages, max_tokens=self._MAX_TOKENS // 2, temperature=self.temperature,