Context
PR #818 introduced the retry_codes configuration field that allows users to specify additional 4xx status codes to trigger retry. The feature has been merged but the documentation was not updated.
What's missing
The following documentation files need to add retry_codes field description:
pages/src/content/docs/en/configuration.md
pages/src/content/docs/zh/configuration.md
pages/src/content/docs/ja/configuration.md
pages/src/content/docs/ru/configuration.md
Should document:
- Field name:
retry_codes (array of integers)
- Where it can be set:
llm.retry_codes or custom_providers.<name>.retry_codes
- Valid values: 4xx codes only (excluding 408/409/429 which are already retried by the SDK; 5xx are all retried by default)
- Behavior: redundant codes (408/409/429) are silently filtered with a warning at
config set time
- CLI usage:
ocr config set llm.retry_codes 403,400
Reference
Per CONTRIBUTING.md:188, user-facing changes must sync documentation.
Follow-up from #818.
Context
PR #818 introduced the
retry_codesconfiguration field that allows users to specify additional 4xx status codes to trigger retry. The feature has been merged but the documentation was not updated.What's missing
The following documentation files need to add
retry_codesfield description:pages/src/content/docs/en/configuration.mdpages/src/content/docs/zh/configuration.mdpages/src/content/docs/ja/configuration.mdpages/src/content/docs/ru/configuration.mdShould document:
retry_codes(array of integers)llm.retry_codesorcustom_providers.<name>.retry_codesconfig settimeocr config set llm.retry_codes 403,400Reference
Per CONTRIBUTING.md:188, user-facing changes must sync documentation.
Follow-up from #818.