libllm -- a C library for invoking a locally hosted language model.

    make
    sudo make install

Requires libcurl and its development headers.
    Ubuntu/Debian: apt-get install libcurl4-openssl-dev
    FreeBSD:       pkg install curl

There is no JSON dependency; the parser is bundled.

Two protocols are spoken.  A plain host URL uses the native Ollama API; a
URL ending in /v1 uses the OpenAI-compatible API, which reaches hosted
providers as well as vLLM, llama.cpp and LM Studio.  llm_open_provider()
names the choice explicitly and takes a credential, or set $LLM_API_KEY.

    make offline-test    parser and conversation tests, no server needed
    make test            the whole suite, needs a reachable server

The OpenAI-compatible suite runs against the local server's /v1 endpoint,
so both protocols are covered with no account and no bill.  Point it
elsewhere with $LLM_V1_URL and $LLM_API_KEY.
    make sanitize-test   the same under ASan and UBSan

The server defaults to http://wilbur:11434 and the model to qwen2.5:latest;
$LLM_URL and $LLM_MODEL override both.  See llm(3) and the manual.
