mirror of https://github.com/tiangolo/fastapi.git
⬇️ Downgrade LLM translations model to GPT-5 to reduce mistakes (#14823)
This commit is contained in:
parent
0e064009fb
commit
84a5bcf82d
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue