Liking cljdoc? Tell your friends :D

fractal-engine.session-loop

Session input execution.

A session input is one caller/user handoff into the persistent RLM session. The loop alternates provider messages, Clojure eval, and observations until FINAL publishes a new immutable head. The persisted row is still named turn for the public/read surface, but this namespace treats it as the input record for one head-boundary transition.

Session input execution.

A session input is one caller/user handoff into the persistent RLM session. The
loop alternates provider messages, Clojure eval, and observations until FINAL
publishes a new immutable head. The persisted row is still named `turn` for the
public/read surface, but this namespace treats it as the input record for one
head-boundary transition.
raw docstring

add-observation!clj

(add-observation! state turn-id content)
source

eval-assistant!clj

(eval-assistant! state _cfg ns-sym turn-id assistant-message)
source

finish-input-error!clj

(finish-input-error! state turn-id err)
source

open-input!clj

(open-input! state user-message)
source

run-input!clj

(run-input! state cfg ns-sym user-message)
(run-input! state cfg ns-sym user-message opts)
source

run-loop!clj

(run-loop! state cfg ns-sym turn-id {:keys [before-step]})
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close