docs: 新增 Seed-2.1-Pro 与 Seed-2.1-Turbo API 参考 - #19
Merged
Merged
Conversation
由 scripts/generate-llm-model-api-reference.mjs 基于 registry 配置生成 两个 LLM 页面,并在 llm-models 索引与侧边栏的 ByteDance 分组补上入口。 改动范围只收敛到这两个模型:全量重跑生成器会连带产出一千余处与本次 无关的既有同步缺口(其他厂商新模型、文案差异、vendor label 回退), 那些不属于本次变更,未纳入。 验证:test:api-reference / test:links / test:seo / test:doc-content / test:ai-readable 与 vitepress build 全部通过,两个页面正常渲染。
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
变更
新增两个 LLM API 参考页面,并在索引与侧边栏补上入口:
model-api-reference/llm-models/bytedance/seed-2.1-pro.mdmodel-api-reference/llm-models/bytedance/seed-2.1-turbo.mdmodel-api-reference/llm-models.md:ByteDance 分组 +2 行.vitepress/modelApiReferenceSidebar.generated.ts:ByteDance 分组 +2 行两个页面由
scripts/generate-llm-model-api-reference.mjs基于 registry 配置生成,未手工改写正文。对应的 registry 配置见 sandbase-monorepo#824。bytedance/seed-2.1-pro/v1/chat/completionsbytedance/seed-2.1-turbo/v1/chat/completionsSeed-2.1-Lite 未纳入:该模型在 registry 中
enabled=false(Ark 账号未开通),生成器按既有规则跳过禁用模型。为什么不是全量重跑产物
全量重跑生成器会连带产出 1200 余处与本次无关的改动:其他厂商的新模型页面(GPT-6 Astra、Claude Fable 5.1、Gemini 3.8 Flash 等)、既有页面的文案差异,以及侧边栏
ByteDance→Bytedance的 vendor label 回退。在不含 Seed 2.1 的 registry 基线上重跑同样会产生这些改动,说明它们是 docs 与 registry 之间既有的同步缺口,不属于本次变更范围,因此只保留 Seed 2.1 相关增量。那个同步缺口建议单独处理。验证
test:api-referenceok(59 pages)test:linksok(2501 Markdown files)test:seook(2484 pages)test:doc-contentok(113 pages)test:ai-readableokvitepress build通过,seed-2.1-pro.html与seed-2.1-turbo.html正常产出,索引页含两个链接test:generator有 1 个既有失败(gives platform operations model-level SEO without reusing LLM breadcrumbs),在不含 Seed 2.1 的 registry 基线上同样失败(两边均为 23 pass / 1 fail),与本次改动无关。注意该测试会 import 生成器模块并触发全量写盘。