You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Activity
Qiyuanqiii commentedon Aug 10, 2026
我想试试