Skip to content

docs: 补充 retry_codes 配置文档 - #827

Merged
lizhengfeng101 merged 4 commits into
alibaba:mainfrom
Qiyuanqiii:agent/docs-retry-codes
Aug 11, 2026
Merged

docs: 补充 retry_codes 配置文档#827
lizhengfeng101 merged 4 commits into
alibaba:mainfrom
Qiyuanqiii:agent/docs-retry-codes

Conversation

@Qiyuanqiii

@Qiyuanqiii Qiyuanqiii commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Description

补充 #818 引入的 retry_codes 配置文档。

本次更新同步修改英文、中文、日文和俄文配置文档,补充以下内容:

  • 支持的配置位置:
    • llm.retry_codes
    • custom_providers.<name>.retry_codes
  • ocr config set 的 CLI 使用方式
  • 仅允许配置 4xx HTTP 状态码
  • 408409429 已由 SDK 自动重试,因此会被过滤
  • 通过 ocr config set 配置冗余状态码时会输出 warning
  • 5xx 响应已由 SDK 默认重试,因此不能加入 retry_codes

俄文部分的措辞尽量保持与实际行为及项目现有技术术语一致。

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Refactoring
  • Documentation update
  • CI / Build / Tooling

How Has This Been Tested?

本次改动仅涉及 Markdown 文档,因此未运行运行时测试。

Checklist

  • 已完成自我审查
  • 已同步更新相关文档
  • 俄文措辞已完成母语审查
  • 已签署 CLA

Related Issues

Fixes #824

@github-actions

Copy link
Copy Markdown
Contributor

OpenCodeReview: Review skipped: no items were selected.

@Qiyuanqiii

Copy link
Copy Markdown
Contributor Author

我怎么看到这个社区已经上线开源之夏 2026 组织列表了

@Qiyuanqiii
Qiyuanqiii marked this pull request as ready for review August 10, 2026 11:53

@wu21-web wu21-web left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The translations are great, one minor issue:

Comment thread pages/src/content/docs/zh/configuration.md Outdated
@Qiyuanqiii
Qiyuanqiii force-pushed the agent/docs-retry-codes branch from d53b63b to 84ec98f Compare August 10, 2026 12:06
Comment thread pages/src/content/docs/en/configuration.md Outdated
Comment thread pages/src/content/docs/ru/configuration.md Outdated
@lizhengfeng101

Copy link
Copy Markdown
Collaborator

我怎么看到这个社区已经上线开源之夏 2026 组织列表了

太细心了,是的,最近会发布任务,后面尽量英文交流哈,便于社区全球化

@Qiyuanqiii

Copy link
Copy Markdown
Contributor Author

我怎么看到这个社区已经上线开源之夏 2026 组织列表了

太细心了,是的,最近会发布任务,后面尽量英文交流哈,便于社区全球化

好嘞大佬

@lizhengfeng101 lizhengfeng101 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lizhengfeng101
lizhengfeng101 merged commit 200424c into alibaba:main Aug 11, 2026
13 checks passed
lizhengfeng101 pushed a commit that referenced this pull request Aug 11, 2026
* docs: document retry_codes configuration

* docs: align retry_codes provider terminology

* docs: improve retry_codes CLI wording

* docs: refine Russian retry wording
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: add retry_codes configuration documentation

3 participants