H.Provider.ReqLLM (H v0.3.0)

Copy Markdown View Source

H.Provider adapter backed by ReqLLM and LLMDB.

Streams canonical ReqLLM.StreamEvent values into H.Provider deltas, injects short-lived credentials from H.Credentials, ensures ReqLLM.StreamResponse.close/1 runs on completion, cancellation, error, or worker exit, and lists catalog models from LLMDB.

Summary

Functions

Returns the recommended default model ID ("provider:model_id") for the currently configured credentials.

Functions

default_model(config \\ %{})

@spec default_model(map()) :: String.t()

Returns the recommended default model ID ("provider:model_id") for the currently configured credentials.