def anthropic

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

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

320# base https://api.anthropic.com, 10 min steps, 2 retries.
321def anthropic(key: String) -> Client:
322  new(Anthropic{}, "https://api.anthropic.com", json(Http.set(Http.set(Http.empty(), "x-api-key", key), "anthropic-version", "2023-06-01")))

Uses (7)

Used by (0)

No other definition uses this definition.