mirror of
https://github.com/fastapi/fastapi.git
synced 2026-06-21 22:10:06 -04:00
🔨 Use gpt-5.5 model in translate.py, specify -chat to avoid warnings (#15792)
This commit is contained in:
@@ -132,7 +132,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-chat:gpt-5.5")
|
||||
|
||||
MAX_ATTEMPTS = 3
|
||||
additional_instructions = ""
|
||||
|
||||
Reference in New Issue
Block a user