Repository navigation
docs: polish response anomaly docs wording in models.md and tutorial - #566
Merged
Merged
Conversation
The paragraph stating that the common model templates do not preconfigure response_anomaly adds no information (an unset field is the default state) and references a response_anomaly example block that no longer exists after AISBench#502, leaving a dangling pointer; remove it from zh/en.
The archive finalization step decides between keeping the staging data as archive or cleaning it up depending on the retention mode; use or (zh: 或) instead of and (zh: 及) in zh/en.
|
🚫 PR 合入质量检查未通过,PR 已被禁止合入。 未通过项:
请按上述提示整改后,重新推送(push)或评论本 PR 即可触发再次检查。 |
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
No blocking issues were identified; remaining feedback is limited to minor documentation wording.
Review effort: Lite
Findings: None
What changed in this PR
This docs-only PR polishes response anomaly detection documentation in Chinese and English.
Changes:
- Removes obsolete
response_anomalyconfiguration guidance. - Updates archive-finalization wording in both tutorials.
| File | Description |
|---|---|
docs/source_zh_cn/base_tutorials/all_params/models.md |
Removes obsolete configuration guidance |
docs/source_zh_cn/advanced_tutorials/response_anomaly_detection.md |
Updates archive-finalization wording |
docs/source_en/base_tutorials/all_params/models.md |
Removes obsolete configuration guidance |
docs/source_en/advanced_tutorials/response_anomaly_detection.md |
Updates archive-finalization wording |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Collaborator
Author
|
[review] 资料问题修改,修改量少,质量高,无检视意见 |
1 similar comment
Collaborator
Author
|
[review] 资料问题修改,修改量少,质量高,无检视意见 |
|
✅ PR 合入质量五项检查全部通过,允许合入。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Type / PR类型
Related Issue | 关联 Issue
无 / N.A.
🔍 Motivation / 变更动机
本 PR 修正推理响应异常检测文档的两处措辞问题(均属 #468 引入、#502 重构后的遗留细节):
response_anomaly……不开启异常检测时无需添加"一段:一方面,未配置字段本就是默认状态,专门声明"不预置""无需添加"属于冗余表述;另一方面,该段引用"下例中的response_anomaly",而示例代码块在 bugfix and docs: restructure response anomaly detection docs; remove empty payload_staging shell #502 中已移除response_anomaly配置,引用已悬空,读者按图索骥只会困惑。--response-anomaly-payload-retention的取值决定对 staging 是保留(all/anomalies)还是清理(none),属二选一语义,应使用"或 / or"。This PR fixes two wording issues in the response anomaly detection documentation (both leftover details from #468, refined by #502):
response_anomalyadds no information (an unset field is the default state) and references aresponse_anomalyexample block that no longer exists after bugfix and docs: restructure response anomaly detection docs; remove empty payload_staging shell #502 — a dangling pointer.--response-anomaly-payload-retentionvalue decides between keeping (all / anomalies) or cleaning (none) the staging data — an either-or semantics that should read "或 / or".📝 Modification / 修改内容
docs/source_zh_cn/base_tutorials/all_params/models.md与docs/source_en/base_tutorials/all_params/models.md:删除"通用模型配置模板不预置response_anomaly……"整段(各 1 行),删除后"示例如下"直接衔接配置代码块。docs/source_zh_cn/advanced_tutorials/response_anomaly_detection.md与docs/source_en/advanced_tutorials/response_anomaly_detection.md:检测流程"归档收尾"步骤"保留及清理"改为"保留或清理",英文同步 "retained and cleaned" 改为 "retained or cleaned"。docs/source_{zh_cn,en}/base_tutorials/all_params/models.md: removed the "common model templates do not preconfigureresponse_anomaly" paragraph (1 line each); "as shown in the example below" now flows directly into the config code block.docs/source_{zh_cn,en}/advanced_tutorials/response_anomaly_detection.md: archive-finalization step reworded from "保留及清理 / retained and cleaned" to "保留或清理 / retained or cleaned".仅为文档措辞修改,未触碰任何代码与行为。 / Wording-only documentation change; no code or behavior touched.
📐 Associated Test Results / 关联测试结果
纯文档变更,不涉及代码测试。已验证:
response_anomaly仅剩 2 处合理保留(path参数行的命名一致性说明与注意事项中的 CLI 用法指引),与 bugfix and docs: restructure response anomaly detection docs; remove empty payload_staging shell #502 定稿一致,悬空引用清零;可按需触发
/readthedocs build验证文档构建。Docs-only change, no code tests involved. Verified: repo-wide search confirms only the two legitimate
response_anomalymentions remain in models.md (thepathnaming-consistency note and the CLI usage precaution), with zero dangling references; all edited sections keep intact paragraph/code-block flow with zh/en aligned./readthedocs buildcan be triggered if needed.无 / None.
无 / None.
🌟 Use cases (Optional) / 使用案例(可选)
不涉及新功能 / N.A.
✅ Checklist / 检查列表
Before PR:
After PR:
👥 Collaboration Info / 协作信息
🌟 Useful CI Command / 实用的CI命令
/gemini review/gemini summary/gemini help/readthedocs build/pr_check