Liking cljdoc? Tell your friends :D

clj-agent-tui.provider

Provider abstraction for clj-agent-tui runtimes.

Provider abstraction for clj-agent-tui runtimes.
raw docstring

claude-providerclj

(claude-provider config)

Return a Claude-shaped provider wrapper.

This is intentionally adapter-shaped but offline by default: pass :response-fn for tests or bind this protocol to a real Anthropic client later.

Return a Claude-shaped provider wrapper.

This is intentionally adapter-shaped but offline by default: pass `:response-fn`
for tests or bind this protocol to a real Anthropic client later.
sourceraw docstring

deterministic-providerclj

(deterministic-provider)
(deterministic-provider {:keys [name response-fn] :or {name :deterministic}})

Create a local provider used for demos/tests. It echoes the submitted text.

Create a local provider used for demos/tests. It echoes the submitted text.
sourceraw docstring

Providercljprotocol

stream-eventsclj

(stream-events provider request)

Return a bounded seq of clj-agent-tui.agent events for a request.

Return a bounded seq of clj-agent-tui.agent events for a request.
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