gate_model_change
Check a model change before it ships: a fine-tune, a weight edit, a merge, or switching to a different model. The current model (base) and the changed one (candidate) answer the same audit messages with the bot's instructions, plus a fixed set of everyday-skill prompts (facts, arithmetic, formats, other languages, refusals, coherence). The gate fails if the candidate is measurably worse on any rule or skill, and returns the replies that got worse. Each side is {"model": id} (with key_id for a connected key), {"ref": "handle/model"} for a model hosted on Weightship, or {"replies": {message_id: text}} for a model you ran yourself (get the messages with get_gate_messages).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"base": "<base>",
"candidate": "<candidate>"
},
"name": "gate_model_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | The model in use now. | |
| prompt | No | Or the bot's system prompt, to make a new audit for the gate. | |
| skills | No | Also check everyday skills (default true). | |
| audit_id | No | An existing audit whose messages to use. | |
| candidate | Yes | The changed model. |