OllamaGateway

constructor(host: String = DEFAULT_OLLAMA_HOST, engine: HttpClientEngine? = null, json: Json = DEFAULT_JSON)

Parameters

host

Base URL of the Ollama HTTP API. Default is DEFAULT_OLLAMA_HOST.

engine

Optional Ktor engine override. Tests pass a MockEngine here.

json

Json codec used for request / response (de)serialisation.