docs(zh): configuration/providers.md is missing the "OAuth and credential injection" section
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 92/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Área
- documentation
Línea de trabajo
Compara docs/en/configuration/providers.md alrededor de L157-L160 con docs/zh/configuration/providers.md, donde falta la sección entre el último proveedor y 下一步. Añade la sección propuesta sobre OAuth y la inyección de credenciales usando la terminología existente de la página y, después, verifica el recuento y la correspondencia de los encabezados con la página en inglés.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 7.5k
- Forks
- 1.2k
- Merge medio
- 12 h 48 min
- PR fusionados (30 d)
- 315
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de MoonshotAI/kimi-code
-
手机竖屏显示状态下输入框的扩展按钮没有显示Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
MoonshotAI/kimi-code#4040 ·
Los mantenedores suelen responder en 1 día
-
顶栏字体不随字体大小缩放bugAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
MoonshotAI/kimi-code#4039 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
MoonshotAI/kimi-code#4010 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
MoonshotAI/kimi-code#4008 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
MoonshotAI/kimi-code#3836 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de MoonshotAI/kimi-code
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
melgarafael/DeskcommCRM#1812 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
prisma/prisma-cli#309 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
gregwebs/pi-quota-dispatcher#26 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
openwatersio/slackwater.xyz#124 ·
Los mantenedores suelen responder en 1 día
-
agent-reported area/browser area/docs documentation good first issue hacktoberfest help wanted P2
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
Los mantenedores suelen responder en 2 días