config: Kimi Code (subscription) as judge + worker provider
Phase A wiring (config-only): server registry kimi provider now targets the Kimi Code coding endpoint (api.kimi.com/coding/v1, model kimi-for-coding, subscription-billed via a Kimi Code Console key). Runtime example documents a custom.kimi worker provider (OpenAI-compatible coding endpoint) + GLM, selectable per topology role via ZEROCLAW_AGENT_MAP. Activates on KIMI_API_KEY; no rebuild. Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
cbbe197a6d
commit
c1b1b5a7cb
@@ -42,23 +42,26 @@ mcp_config = "/zeroclaw-data/clawmates-mcp.json"
|
|||||||
# model_provider = "claude_cli.door"
|
# model_provider = "claude_cli.door"
|
||||||
# risk_profile = "toolfree"
|
# risk_profile = "toolfree"
|
||||||
|
|
||||||
# --- Extra worker LLMs: GLM (Zhipu) and Kimi (Moonshot) ---
|
# --- Extra worker LLMs: Kimi Code and GLM (Zhipu) ---
|
||||||
# Both are first-class ZeroClaw providers (glm, moonshot; alias "kimi"). To run a
|
# Run a topology WORKER on another model. Kimi Code is subscription-billed and
|
||||||
# topology WORKER on them, set model + key via env (TOML sub-tables parse empty)
|
# OpenAI-compatible at https://api.kimi.com/coding/v1 (model "kimi-for-coding")
|
||||||
# and point an agent at the alias. The orchestrator's role→alias map
|
# with a Kimi Code Console API key — use the `custom` provider for it. GLM is a
|
||||||
# (ZEROCLAW_AGENT_MAP) then selects e.g. researcher=worker_kimi, analyst=worker_glm.
|
# first-class ZeroClaw family. Set model + key via env (TOML sub-tables parse
|
||||||
|
# empty); point an agent at the alias; the orchestrator's role→alias map
|
||||||
|
# (ZEROCLAW_AGENT_MAP) selects e.g. researcher=worker_kimi, analyst=worker_glm.
|
||||||
|
# ZEROCLAW_providers__models__custom__kimi__model=kimi-for-coding
|
||||||
|
# ZEROCLAW_providers__models__custom__kimi__api_key=<Kimi Code Console key>
|
||||||
# ZEROCLAW_providers__models__glm__default__model=glm-4.6
|
# ZEROCLAW_providers__models__glm__default__model=glm-4.6
|
||||||
# ZEROCLAW_providers__models__glm__default__api_key=<GLM key>
|
# ZEROCLAW_providers__models__glm__default__api_key=<GLM key>
|
||||||
# ZEROCLAW_providers__models__moonshot__default__model=kimi-k2-0905-preview
|
# [providers.models.custom.kimi]
|
||||||
# ZEROCLAW_providers__models__moonshot__default__api_key=<Kimi key>
|
# uri = "https://api.kimi.com/coding/v1"
|
||||||
# [providers.models.glm.default]
|
# [providers.models.glm.default]
|
||||||
# [providers.models.moonshot.default]
|
# [agents.worker_kimi]
|
||||||
|
# model_provider = "custom.kimi"
|
||||||
|
# risk_profile = "toolfree"
|
||||||
# [agents.worker_glm]
|
# [agents.worker_glm]
|
||||||
# model_provider = "glm.default"
|
# model_provider = "glm.default"
|
||||||
# risk_profile = "toolfree"
|
# risk_profile = "toolfree"
|
||||||
# [agents.worker_kimi]
|
|
||||||
# model_provider = "moonshot.default"
|
|
||||||
# risk_profile = "toolfree"
|
|
||||||
|
|
||||||
# Tool-free profile — agents can only reason + call the MCP door (tools inject
|
# Tool-free profile — agents can only reason + call the MCP door (tools inject
|
||||||
# AFTER this allowlist filter). `level = "full"` removes ZeroClaw's OWN approval
|
# AFTER this allowlist filter). `level = "full"` removes ZeroClaw's OWN approval
|
||||||
|
|||||||
Reference in New Issue
Block a user