Skip to content

Commit 0dc1f1c

Browse files
authored
Make translations manual-only and update to latest Claude model (#895)
1 parent 7d17c93 commit 0dc1f1c

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/translate.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ name: Translate
22

33
on:
44
# Automatic: when English content or prompts change
5-
push:
6-
branches:
7-
- master
8-
paths:
9-
- "docs/en/docs/**/*.md"
10-
- "docs/*/llm-prompt.md"
11-
- "_scripts/general-llm-prompt.md"
5+
# Commented out to save API costs - run manually as needed
6+
# push:
7+
# branches:
8+
# - master
9+
# paths:
10+
# - "docs/en/docs/**/*.md"
11+
# - "docs/*/llm-prompt.md"
12+
# - "_scripts/general-llm-prompt.md"
1213

1314
# Manual trigger
1415
workflow_dispatch:

_scripts/translate/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
SCRIPTS_DIR = REPO_ROOT / "_scripts"
1515

1616
# Claude API settings
17-
MODEL = "claude-sonnet-4-5"
17+
MODEL = "claude-sonnet-4-6"
1818
MAX_TOKENS = 32768 # Large enough for biggest docs (~60KB source)
1919
REQUEST_TIMEOUT = 600.0 # 10 minute timeout per API request
2020

0 commit comments

Comments
 (0)