feat: add missing [providers.moonshot] section to config.example.toml

Moonshot/Kimi is a shipped provider with full support (model registry entry,
provider ID, env var plumbing, CLI provider picker), but config.example.toml
was missing its [providers.moonshot] table block while all other 15 providers
had one. This made Moonshot the only shipped provider absent from the example.

Added the section between siliconflow and sglang, matching the shipped-provider
ordering in docs/PROVIDERS.md. Includes the Kimi Code alternate path and
kimi_oauth auth_mode comment.
This commit is contained in:
Hunter B
2026-06-01 00:33:12 -07:00
parent ffb871b9db
commit f094db9e02
+10
View File
@@ -305,6 +305,16 @@ max_subagents = 10 # optional (1-20)
# base_url = "https://api.siliconflow.com/v1"
# model = "deepseek-ai/DeepSeek-V4-Pro" # or deepseek-ai/DeepSeek-V4-Flash
# Moonshot/Kimi OpenAI-compatible endpoint (https://platform.moonshot.ai)
[providers.moonshot]
# api_key = "YOUR_MOONSHOT_API_KEY" # or KIMI_API_KEY
# base_url = "https://api.moonshot.ai/v1" # or KIMI_BASE_URL
# model = "kimi-k2.6"
# # Kimi Code path:
# # base_url = "https://api.kimi.com/coding/v1"
# # model = "kimi-for-coding"
# # auth_mode = "kimi_oauth" # reads Kimi CLI OAuth credentials
# Self-hosted SGLang OpenAI-compatible server
[providers.sglang]
# api_key = "OPTIONAL_SGLANG_TOKEN"