Browse Source

⬆️ Upgrade OpenAI model for translations to gpt-5.2 (#14579)

pull/14581/head
Sebastián Ramírez 6 months ago
committed by GitHub
parent
commit
1d93d531bc
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      scripts/translate.py

2
scripts/translate.py

@ -727,7 +727,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")
agent = Agent("openai:gpt-5.2")
prompt_segments = [
general_prompt,

Loading…
Cancel
Save