Liking cljdoc? Tell your friends :D

fractal-engine.session


fork-session!clj

(fork-session! cfg old-dir new-dir)
(fork-session! cfg old-dir new-dir opts)
source

latest-complete-snapshotclj

(latest-complete-snapshot state)
source

resume-session!clj

(resume-session! cfg source-dir)
(resume-session! cfg source-dir opts)
source

run-turn!clj

(run-turn! session user-message)
source

session-handleclj

(session-handle state cfg ns-sym ops)
source

start-session!clj

(start-session! cfg)
(start-session! cfg {:keys [dir id kind parent cache-id overlay]})

Start a fresh session. Opts may carry an :overlay — an extra, session-level system instruction appended to the base behavior in the single system message. It is a standing specialization for the whole session (e.g. codebrain's brain role), stated once at birth and carried across every turn and resume via the message history; it is NOT the per-turn task. Kept to one combined system message so it is provider-agnostic (some adapters honor only the first system).

Start a fresh session. Opts may carry an `:overlay` — an extra, session-level
system instruction appended to the base behavior in the single system message.
It is a standing specialization for the whole session (e.g. codebrain's brain
role), stated once at birth and carried across every turn and resume via the
message history; it is NOT the per-turn task. Kept to one combined system
message so it is provider-agnostic (some adapters honor only the first system).
sourceraw docstring

stop-session!clj

(stop-session! session)
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