JevConfigBuilder

Builder for JevConfig. Each setting resolves as: explicit value, then environment variable, then default.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

API key; falls back to TYPESAFE_API_KEY. Required.

Link copied to clipboard

API root; falls back to TYPESAFE_BASE_URL, then https://api.typesafe.ai.

Link copied to clipboard

Model used when a call doesn't name one; falls back to TYPESAFE_DEFAULT_MODEL, then jev-latest.

Link copied to clipboard

A Ktor engine to use instead of CIO, e.g. a MockEngine in tests. The client does not close it.

Link copied to clipboard

Extra headers sent with every request.

Link copied to clipboard
Link copied to clipboard

Timeout for each HTTP attempt.

Functions

Link copied to clipboard