Canonical role-labelled message and typed content-block contract.
This is the only persisted and transported answer shape. Maps use JSON-ready snake_case string keys so in-process and remote consumers observe identical values. Markdown exists only as the payload of a prose block.
Canonical role-labelled message and typed content-block contract. This is the only persisted and transported answer shape. Maps use JSON-ready snake_case string keys so in-process and remote consumers observe identical values. Markdown exists only as the payload of a prose block.
(answer-content answer)Convert the engine's final answer value into canonical blocks.
Accepted answer values are Markdown strings, {:answer string}, and
needs-input maps. Typed content vectors pass through after validation.
Convert the engine's final answer value into canonical blocks.
Accepted answer values are Markdown strings, `{:answer string}`, and
needs-input maps. Typed content vectors pass through after validation.(message
{:keys [id role status content created-at completed-at model provider author]
:or {status "streaming" content [] created-at (System/currentTimeMillis)}})(text-projection blocks)Disposable plain-text projection for search, clipboard, and error fallback.
Disposable plain-text projection for search, clipboard, and error fallback.
(tool {:keys [id tool status input output error started-at completed-at]
:or {id (block-id)}})cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |