Browse Source
⬇️ Downgrade LLM translations model to GPT-5 to reduce mistakes (#14823)
pull/14824/head
Sebastián Ramírez
4 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
scripts/translate.py
|
|
|
@ -86,7 +86,7 @@ def translate_page( |
|
|
|
print(f"Found existing translation: {out_path}") |
|
|
|
old_translation = out_path.read_text(encoding="utf-8") |
|
|
|
print(f"Translating {en_path} to {language} ({language_name})") |
|
|
|
agent = Agent("openai:gpt-5.2") |
|
|
|
agent = Agent("openai:gpt-5") |
|
|
|
|
|
|
|
prompt_segments = [ |
|
|
|
general_prompt, |
|
|
|
|