From f094db9e0242ba350605beb29aa768f94c9b2e9d Mon Sep 17 00:00:00 2001 From: Hunter B Date: Mon, 1 Jun 2026 00:33:12 -0700 Subject: [PATCH] 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. --- config.example.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config.example.toml b/config.example.toml index 88437f25..0269f33e 100644 --- a/config.example.toml +++ b/config.example.toml @@ -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"