HTTP client behaviour for LLM API calls.
Defaults to Req. Override with a mock in tests.
Summary
Functions
Make an HTTP request. Uses the configured adapter.
Callbacks
@callback request(Req.Request.t()) :: {:ok, Req.Response.t()} | {:error, term()}
HTTP client behaviour for LLM API calls.
Defaults to Req. Override with a mock in tests.
Make an HTTP request. Uses the configured adapter.
@callback request(Req.Request.t()) :: {:ok, Req.Response.t()} | {:error, term()}