Contract and strings pinned at the server's dev (6778143); the release re-pins at its tag. - ModelInfo, SchedulingModel, StartModel and a directory's model carry `ref`; `key` (ref, else id) is what is chosen, kept and sent as `model` on create, chat update and schedules. `named()` finds a row by ref, else the first with that id, so an assistant model saved as an id, a chat's `model` and a schedule's still find theirs. - Pickers show "Name · Connection" where two rows share an id, and key their rows by ref. - An open chat says its model's id only: the ref picked here says which twin while the id still fits (ChatState.picked). - A run's `error.reason` is read. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
102 lines
2.3 KiB
JSON
102 lines
2.3 KiB
JSON
{
|
|
"runs": [
|
|
{
|
|
"id": "run2",
|
|
"schedule_id": "sched1",
|
|
"status": "waiting",
|
|
"timing": "on_time",
|
|
"missed": 2,
|
|
"due_at": "2026-01-02T03:04:05+00:00",
|
|
"started_at": null,
|
|
"finished_at": null,
|
|
"waiting_for": "model",
|
|
"retry_at": "2026-01-02T03:09:05+00:00",
|
|
"progress": {
|
|
"phase": "waiting_for_model",
|
|
"since": 1767323045000,
|
|
"model": "Qwen",
|
|
"reason": "busy"
|
|
},
|
|
"attempts": 2,
|
|
"model": {
|
|
"id": null,
|
|
"name": null,
|
|
"reason": null,
|
|
"switched_from": null
|
|
},
|
|
"ran_on": null,
|
|
"tokens": {
|
|
"prompt": 0,
|
|
"completion": 0
|
|
},
|
|
"cost": null,
|
|
"chat_id": null,
|
|
"message_id": null,
|
|
"report_path": null,
|
|
"report": null,
|
|
"note": "",
|
|
"preview": "",
|
|
"error": {
|
|
"class": "no_model",
|
|
"text": "Waiting for a free model: Qwen: it is answering someone.",
|
|
"reason": null
|
|
},
|
|
"notified": false,
|
|
"notification": null,
|
|
"watch": null
|
|
},
|
|
{
|
|
"id": "run1",
|
|
"schedule_id": "sched1",
|
|
"status": "ok",
|
|
"timing": "late",
|
|
"missed": 0,
|
|
"due_at": "2026-01-02T03:04:05+00:00",
|
|
"started_at": "2026-01-02T03:04:05+00:00",
|
|
"finished_at": "2026-01-02T03:04:05+00:00",
|
|
"waiting_for": null,
|
|
"retry_at": null,
|
|
"progress": null,
|
|
"attempts": 1,
|
|
"model": {
|
|
"id": "gpt-oss",
|
|
"name": "GPT-OSS",
|
|
"reason": "switched",
|
|
"switched_from": "Qwen"
|
|
},
|
|
"ran_on": null,
|
|
"tokens": {
|
|
"prompt": 1200,
|
|
"completion": 340
|
|
},
|
|
"cost": null,
|
|
"chat_id": "chat1",
|
|
"message_id": "msg2",
|
|
"report_path": null,
|
|
"report": "rep1",
|
|
"note": "Filed a report: two cakes are unwrapped.",
|
|
"preview": "All the waybread is wrapped.",
|
|
"error": null,
|
|
"notified": true,
|
|
"notification": {
|
|
"title": "Two cakes are unwrapped",
|
|
"body": "Two of the twelve cakes have lost their leaves.",
|
|
"public": {
|
|
"title": "New report",
|
|
"body": ""
|
|
},
|
|
"actions": [
|
|
"open"
|
|
],
|
|
"labels": {
|
|
"open": "Open"
|
|
},
|
|
"ask": "",
|
|
"importance": "high"
|
|
},
|
|
"watch": null
|
|
}
|
|
],
|
|
"more": false
|
|
}
|