Skip to content

Commit 80a7c23

Browse files
committed
[FIX] fix default translation model to gpt-4o-mini
1 parent bdbf8ff commit 80a7c23

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/translate.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def __init__(
117117
self,
118118
api_key: str,
119119
base_url: Optional[str] = None,
120-
model_name: str = "openai/gpt-5",
120+
model_name: str = "openai/gpt-4o-mini",
121121
max_retries: int = 5,
122122
retry_delay: float = 60.0,
123123
request_delay: float = 2.0,
@@ -518,8 +518,8 @@ def main() -> None:
518518
parser.add_argument(
519519
"--model",
520520
type=str,
521-
default="gpt-5",
522-
help="Model name to use for translation (default: gpt-5). For GitHub, use format like 'openai/gpt-4o-mini'.",
521+
default="gpt-4o-mini",
522+
help="Model name to use for translation (default: gpt-4o-mini). For GitHub, use format like 'openai/gpt-4o-mini'.",
523523
)
524524
parser.add_argument(
525525
"--no-pr", action="store_true", help="Skip creating GitHub Pull Request"

0 commit comments

Comments
 (0)