Is your feature request related to a problem?
PicoClaw currently only supports Moonshot provider (api.moonshot.cn/v1) for Kimi models. However, Kimi Code Plan uses a separate endpoint (api.kimi.com/coding/v1) with different API keys and potentially different capabilities.
Proposed Solution
Add a dedicated kimi-coding provider:
| Config |
Value |
| Provider name |
kimi-coding |
| Endpoint |
https://api.kimi.com/coding/v1 |
| API Key env |
KIMI_API_KEY or PICOCLAW_PROVIDERS_KIMI_CODING_API_KEY |
| Model ref format |
kimi-coding/k2p5 |
Configuration Example
{
"providers": {
"kimi-coding": {
"api_key": "sk-xxx",
"api_base": "https://api.kimi.com/coding/v1"
}
},
"agents": {
"defaults": {
"model": "kimi-coding/k2p5"
}
}
}
Alternatives Considered
Tried overriding MOONSHOT_API_BASE to Kimi Coding endpoint, but compatibility is uncertain due to potential differences in API behavior and model IDs.
References
Use Case
Users who have Kimi Code Plan subscription want to use PicoClaw with Kimi Coding API instead of Moonshot API, leveraging Kimi Code's search and fetch capabilities.
Is your feature request related to a problem?
PicoClaw currently only supports Moonshot provider (
api.moonshot.cn/v1) for Kimi models. However, Kimi Code Plan uses a separate endpoint (api.kimi.com/coding/v1) with different API keys and potentially different capabilities.Proposed Solution
Add a dedicated
kimi-codingprovider:kimi-codinghttps://api.kimi.com/coding/v1KIMI_API_KEYorPICOCLAW_PROVIDERS_KIMI_CODING_API_KEYkimi-coding/k2p5Configuration Example
{ "providers": { "kimi-coding": { "api_key": "sk-xxx", "api_base": "https://api.kimi.com/coding/v1" } }, "agents": { "defaults": { "model": "kimi-coding/k2p5" } } }Alternatives Considered
Tried overriding
MOONSHOT_API_BASEto Kimi Coding endpoint, but compatibility is uncertain due to potential differences in API behavior and model IDs.References
https://api.kimi.com/coding/v1Use Case
Users who have Kimi Code Plan subscription want to use PicoClaw with Kimi Coding API instead of Moonshot API, leveraging Kimi Code's search and fetch capabilities.