docs(zh): configuration/providers.md is missing the "OAuth and credential injection" section
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 92/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
調査の方向性
L157-L160付近のdocs/en/configuration/providers.mdとdocs/zh/configuration/providers.mdを比較してください。後者では、最後のproviderと下一步の間のセクションが欠落しています。ページで既に使用されている用語に合わせて、提案されているOAuthとcredential injectionのセクションを追加し、その後、英語ページと照合して見出しの数と対応関係を確認してください。
索引モデルが issue の本文から書いたものです。
説明
The Chinese page is one section short of the English one, and it is the section that answers "why don't I need to paste an API key".
Where
docs/zh/configuration/providers.md has 9 ## headings; docs/en/configuration/providers.md has 10. The eight shared headings sit at identical line numbers in both files, so the two pages are otherwise kept in lockstep:
| en | zh | |
|---|---|---|
Supported provider types / 支持的提供商类型 |
L5 | L5 |
/provider / /provider |
L22 | L22 |
kimi |
L45 | L45 |
anthropic |
L62 | L62 |
openai |
L82 | L82 |
openai_responses |
L98 | L98 |
google-genai |
L112 | L112 |
vertexai |
L135 | L135 |
OAuth and credential injection |
L157 | — missing — |
Next steps / 下一步 |
L161 | L158 |
en L157-160:
## OAuth and credential injection
The Kimi Code managed service uses OAuth rather than static API keys. After running `/login`, the built-in authentication toolchain automatically writes and refreshes credentials, so no manual configuration is needed in `config.toml` for this.
zh L156 and L157 are both blank lines, which is the hole the section should occupy.
Scope
I paired all 28 docs/en/** pages with their docs/zh/** counterparts and compared ## / ### headings: every file is present in both languages, there are zero missing ### headings, and this is the only page with a missing ##. So it reads as an omission rather than an intentional divergence.
Why it is worth fixing
The zh page already tells the reader that /login manages OAuth accounts (zh L40, mirrored from en), but not why the managed service behaves that way, and the zh page then goes straight from the last provider to 下一步. The missing paragraph is the one sentence that explains that no static key belongs in config.toml for the managed service — which is exactly the thing this page is for.
Proposed change
Three lines, matching the terminology already used on that page (托管服务, 凭证, API 密钥, /login, config.toml):
## OAuth 与凭证注入
Kimi Code 托管服务使用 OAuth,而不是静态 API 密钥。执行 `/login` 后,内置的认证工具链会自动写入并刷新凭证,因此这类凭证无需在 `config.toml` 中手动配置。
CONTRIBUTING.md asks external contributors to open an issue and wait for a maintainer's /approve before opening the PR, so that is what this is. Happy to send the three-line patch (docs only, no changeset) as soon as it is approved.
- 主要言語
- TypeScript
- スター
- 7.7k
- フォーク
- 1.3k
- 平均マージ
- 12時間 34分
- マージ済み PR(30日)
- 307
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
MoonshotAI/kimi-code のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
MoonshotAI/kimi-code#4040 ·
メンテナーはふだん 1 日以内に返信
-
顶栏字体不随字体大小缩放bugオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
MoonshotAI/kimi-code#4039 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
MoonshotAI/kimi-code#4010 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
MoonshotAI/kimi-code#4008 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
MoonshotAI/kimi-code#3836 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
MoonshotAI/kimi-code の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
openedx/frontend-app-authoring#3274 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
area/documentation status/need-triage
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
google-gemini/gemini-cli#29548 ·
メンテナーはふだん 1 日以内に返信
-
sdk-typescript vector-store
難易度 2/5 半日 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信