def header

bend-kit-llm@0.13.0.1 · llm.bend:333

import bend-kit-llm@0.13.0.1/llm.bend as Llm
import Base
import bend-kit-http@0.38.1.1/http.bend as Http

333# A header on every request, as anthropic-beta. It replaces one of the same name.
334def header(c: Client, k: String, v: String) -> Client:
335  Client{api, b, h, ms, n, http} = c
336  Client{api, b, Http.set(h, String.to_lower(k), v), ms, n, http}

Uses (4)

Used by (0)

No other definition uses this definition.