Liking cljdoc? Tell your friends :D

llm.sdk.providers.anthropic.chat

Anthropic Messages API transport adapter. Supports thinking blocks, cache_control, tool use, streaming deltas. Preserves provider-specific replay state (reasoning_details, signatures).

Anthropic Messages API transport adapter.
Supports thinking blocks, cache_control, tool use, streaming deltas.
Preserves provider-specific replay state (reasoning_details, signatures).
raw docstring

build-request-anthropicclj

(build-request-anthropic profile request)
source

finalize-requestclj

(finalize-request profile request)

Finalize explicit Claude OAuth after shared HTTP options. Authentication and required protocol headers cannot be replaced by runtime header overrides. Also usable for authenticated model discovery. API-key requests are unchanged.

Finalize explicit Claude OAuth after shared HTTP options. Authentication and
required protocol headers cannot be replaced by runtime header overrides.
Also usable for authenticated model discovery. API-key requests are unchanged.
sourceraw docstring

make-transportclj

(make-transport)
source

parse-error-anthropicclj

(parse-error-anthropic _profile status body)
source

parse-response-anthropicclj

(parse-response-anthropic profile raw)
source

parse-stream-event-anthropicclj

(parse-stream-event-anthropic profile line)
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