Skip to content

Commit

Permalink
Update chatgpt.py
Browse files Browse the repository at this point in the history
  • Loading branch information
1439707509 authored Apr 8, 2024
1 parent 84a4194 commit 2f1955f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manga_translator/translators/chatgpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ async def _request_translation(self, to_lang: str, prompt: str) -> str:
messages.insert(2, {'role': 'assistant', 'content': self.chat_sample[to_lang][1]})

response = await openai.ChatCompletion.acreate(
model='gpt-3.5-turbo-1106',
model='gpt-3.5-turbo-0125',
messages=messages,
max_tokens=self._MAX_TOKENS // 2,
temperature=self.temperature,
Expand Down

0 comments on commit 2f1955f

Please sign in to comment.