Compare commits

...

1 Commits

Author SHA1 Message Date
MickLesk
bcc5fa206b LanguageTool: count ngram prompt retries without tripping errexit 2026-10-27 09:20:01 +01:00

View File

@@ -41,7 +41,7 @@ while [[ $attempt -lt $max_attempts ]]; do
fi
if [[ "$lang_code" =~ [[:space:]] ]]; then
((attempt++))
attempt=$((attempt + 1))
remaining=$((max_attempts - attempt))
lang_code=""
if [[ $remaining -gt 0 ]]; then