Expand description
The names and defaults the SDK’s behaviour is pinned to: the environment variables, headers, API paths and defaults.
Constants§
- API_
KEY_ ENV - The environment variable a client reads its API key from when none is passed explicitly.
- BASE_
URL_ ENV - The environment variable a client reads its base URL from when none is passed explicitly.
- DEFAULT_
BASE_ URL - The API root a client talks to when neither the caller nor
BASE_URL_ENVnames one. - DEFAULT_
MAX_ RESPONSE_ BYTES - The largest response body a client reads before giving up on it, in bytes.
- DEFAULT_
MODEL - The model a request names when neither the call, the client nor
DEFAULT_MODEL_ENVnames one. - DEFAULT_
MODEL_ ENV - The environment variable a client reads its default model from when none is passed explicitly.
- DEFAULT_
TIMEOUT - The deadline each attempt of a request gets when the caller sets none.