You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add verified Kimi coding-plan provider preset (api.kimi.com/coding) #86
The current moonshot preset (src/providers.js) points at https://api.moonshot.ai/anthropic + MOONSHOT_API_KEY — the pay-as-you-go surface, which 429s with "account suspended due to insufficient balance" on a coding subscription. There is no preset for the Kimi Code subscription plan.
Verified working config (smoke-tested end-to-end against agent-micro's runner — status: success, real kimi-for-coding reply):
sk-kimi-… from Kimi Code console → API Keys, sent as ANTHROPIC_AUTH_TOKEN (keyStyle: authToken)
model
kimi-for-coding
Evidence the surface is Anthropic-native and sanctioned:
POST https://api.kimi.com/coding/v1/messages (Anthropic) → 200.
OpenAI /chat/completions → 403: "only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code" — Claude Code (jsclaw's harness) is explicitly allowed.
Scope (this issue only)
Add a kimi coding-plan preset to PROVIDERS in src/providers.js: baseUrl: https://api.kimi.com/coding, keyEnv: KIMI_API_KEY, keyStyle: authToken, models: [kimi-for-coding], a note that it's the subscription/coding plan.
Clarify the existing moonshot preset's note as pay-as-you-go so the two aren't confused.
Activity
release: v0.0.20 — agents run on the Kimi Code subscription