Files
LLeMbas-Android/contract/message_failed.json
T
HomerandClaude Fable 5.2 694e7f46d7
CI / check (push) Canceled after 0s
Contract at server dev 9ab0818: spec 3.7.0 from the server -- end, ms, always, the builds
- Pinned: 75 files, with the spec's display.json (DisplayTest runs its
  duration and end cases) and progress.json's budget stop.
- Not additive: a call's chips no longer carry "exit 0", and an edit's are
  one "+N -M" (the app draws chips only, so nothing is said twice);
  block.title follows the spec's key order.
- A message's `end {phase, reason, text}` is what a stopped or failed reply
  is drawn from, so a reloaded one says "Stopped: by you" too; the app
  writes the line in its own language from the phase and the reason.
- A call's time is block.duration (the server's), else made from `ms`;
  its state is block.state; a call without a title shows block.label.
- "Always allow" only when every item of the approval has `always`.
- The notifications build's updater takes its file from latest.json, else
  from GET /apps' `notifications {url, sha256}` of the same version.
- ApiClient.mentions and attachFrom with their models and fixtures; the
  composer does not use them yet.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 12:33:47 +00:00

88 lines
1.9 KiB
JSON

{
"id": "msg5",
"role": "assistant",
"created_at": "2026-01-02T03:04:05+00:00",
"complete": true,
"stopped": false,
"error": "The model's server answered 503.",
"queued": false,
"machine": false,
"origin": "",
"model": "qwen",
"attachments": [],
"end": {
"phase": "failed",
"reason": "The model's server answered 503.",
"text": "Failed: The model's server answered 503."
},
"steps": [
{
"index": 0,
"kind": "text",
"open": false,
"markdown": "The dough is "
},
{
"index": 0,
"kind": "tools",
"open": false,
"calls": [
{
"id": "call4",
"name": "bash",
"status": "denied",
"args": {
"command": "rm -rf build"
},
"error": "Plan mode does not run commands.",
"block": {
"kind": "shell",
"title": "rm -rf build",
"chips": [],
"added": 0,
"removed": 0,
"state": "denied",
"duration": "",
"label": "Bash"
}
},
{
"id": "call5",
"name": "grep",
"status": "error",
"args": {
"pattern": "yeast",
"path": "recipes"
},
"error": "No such directory.",
"ms": 61300,
"block": {
"kind": "search",
"title": "yeast",
"chips": [],
"added": 0,
"removed": 0,
"state": "failed",
"duration": "1m 01s",
"label": "Search files"
}
}
]
}
],
"plan": null,
"metrics": {
"prompt_tokens": 0,
"completion_tokens": 0,
"total_tokens": 0,
"context_tokens": 0,
"context_limit": 0,
"estimated": false,
"elapsed_ms": 0,
"rounds": 1,
"thinking_ms": 0,
"percent": 0,
"tok_s": 0.0
}
}