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

make-transportclj

(make-transport)
source

oauth-token?clj

(oauth-token? token)

Check if a token is an Anthropic OAuth/setup token. Detects: sk-ant-* (but not sk-ant-api*), eyJ* JWTs, cc-* Claude Code tokens.

Check if a token is an Anthropic OAuth/setup token.
Detects: sk-ant-* (but not sk-ant-api*), eyJ* JWTs, cc-* Claude Code tokens.
sourceraw docstring

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