Liking cljdoc? Tell your friends :D

llm.sdk.provider.auth

Provider auth and runtime profile configuration.

Provider auth and runtime profile configuration.
raw docstring

apply-http-optionsclj

(apply-http-options profile req)

Copy runtime HTTP client/timeout options from a provider profile onto a native request map consumed by llm.sdk.http or modality drivers.

Copy runtime HTTP client/timeout options from a provider profile onto
a native request map consumed by llm.sdk.http or modality drivers.
sourceraw docstring

apply-runtime-configclj

(apply-runtime-config profile config)

Apply per-call SDK runtime configuration to a provider profile.

This returns a transient profile value; it does not mutate the global provider registry.

Apply per-call SDK runtime configuration to a provider profile.

This returns a transient profile value; it does not mutate the
global provider registry.
sourceraw docstring

auth-headersclj

(auth-headers profile token)

Build auth headers for a provider profile given a token.

Build auth headers for a provider profile given a token.
sourceraw docstring

default-headersclj

(default-headers profile token)

Merge provider default headers with auth headers.

Merge provider default headers with auth headers.
sourceraw docstring

resolve-auth-tokenclj

(resolve-auth-token profile)

Resolve an auth token for a provider profile. Per-call/profile overrides win, then env vars are checked in order.

Resolve an auth token for a provider profile.
Per-call/profile overrides win, then env vars are checked in order.
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