Read a session view, a single session descriptor, or a page of sessions. These reads are available to the sandbox only when introspection is on.
Read a session view, a single session descriptor, or a page of sessions. These reads are available to the sandbox only when introspection is on.
(get-session)(get-session target)Developer alias for foundation-get-session — the model-facing contract is the
symbol's :description/:result below.
Developer alias for `foundation-get-session` — the model-facing contract is the symbol's `:description`/`:result` below.
(install-block-clock! f)Install the function of a session id and a turn id that gives the epoch
milliseconds when the turn's running Python block started, or nil. It reads
the gateway journal in gateway.journal, a higher layer, so the process wiring
installs it. Without it, [[hung-turns]] counts from the newest iteration.
Install the function of a session id and a turn id that gives the epoch milliseconds when the turn's running Python block started, or nil. It reads the gateway journal in `gateway.journal`, a higher layer, so the process wiring installs it. Without it, [[hung-turns]] counts from the newest iteration.
(install-default-route! f)Install the function of a session id that gives the default {:provider :model} of
that session: the pair that its turns use when the session has no model pick. It
reads the project configuration through gateway.state, a higher layer, so the
process wiring installs it. Without it, [[session-route]] falls back to the root pair.
Install the function of a session id that gives the default `{:provider :model}` of
that session: the pair that its turns use when the session has no model pick. It
reads the project configuration through `gateway.state`, a higher layer, so the
process wiring installs it. Without it, [[session-route]] falls back to the root pair.(list-sessions)(list-sessions search)Developer alias for foundation-sessions — the model-facing contract is the
symbol's :description/:result below.
Developer alias for `foundation-sessions` — the model-facing contract is the symbol's `:description`/`:result` below.
(read-session)(read-session target)Developer alias for foundation-inspect — the model-facing contract is the
symbol's :description/:result below.
Developer alias for `foundation-inspect` — the model-facing contract is the symbol's `:description`/`:result` below.
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 |