Shared synchronous request lifecycle for non-chat SDK operations.
Shared synchronous request lifecycle for non-chat SDK operations.
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |