Liking cljdoc? Tell your friends :D
Clojure only.

llm.sdk.operation

Shared synchronous request lifecycle for non-chat SDK operations.

Shared synchronous request lifecycle for non-chat SDK operations.
raw docstring

runclj

(run {:keys [provider-id request config validate-request explain-request
             invalid-error-type invalid-message constructor-key
             unsupported-message build-request request-effect sign-request
             parse-response parse-error transport-error-message
             api-error-message]})

Resolve a provider, validate and build an operation request, execute its HTTP effect, dispatch provider errors, and parse a successful response.

Modality-specific wire formats, signing, parsing, and response validation remain in each operation/transport; this function owns only their common synchronous lifecycle.

Resolve a provider, validate and build an operation request, execute its
HTTP effect, dispatch provider errors, and parse a successful response.

Modality-specific wire formats, signing, parsing, and response validation
remain in each operation/transport; this function owns only their common
synchronous lifecycle.
sourceraw docstring

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