Canonical-content builders, normalization and disposable text projection.
com.blockether.vis.contract.content owns the persisted and transported shapes.
This namespace constructs those JSON-ready, snake_case values and converts final
engine answers into them; Markdown exists only as the payload of a prose block.
Canonical-content builders, normalization and disposable text projection. `com.blockether.vis.contract.content` owns the persisted and transported shapes. This namespace constructs those JSON-ready, snake_case values and converts final engine answers into them; 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}, wrapped
canonical content vectors, and needs-input maps. Typed content vectors pass
through after validation. A reserved vis-speech fence becomes a speech block.
Convert the engine's final answer value into canonical blocks.
Accepted answer values are Markdown strings, `{:answer string}`, wrapped
canonical content vectors, and needs-input maps. Typed content vectors pass
through after validation. A reserved `vis-speech` fence becomes a speech block.(fork-notice id)The notice that settles a running turn that a fork copied. Clients show it instead of a cancel notice: the person forked the session, nobody cancelled the turn.
The notice that settles a running turn that a fork copied. Clients show it instead of a cancel notice: the person forked the session, nobody cancelled the turn.
Notice code of a turn that still ran in the source session when a fork copied it.
Notice code of a turn that still ran in the source session when a fork copied it.
(fork-notice? block)True when block is the notice of a turn that a fork settled.
True when `block` is the notice of a turn that a fork settled.
(message {:keys [id role status content created-at completed-at model provider
author]
:or {status "streaming" content [] created-at (util/now-ms)}})(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 |