Jev Call Options
Settings for single calls that override the client's own, as both official SDKs allow:
val urgent = JevCallOptions {
timeout = 2.seconds
retry = RetryPolicy.NONE
headers["X-Trace-Id"] = traceId
}
val result = jev.withOptions(urgent).ask(Triage, state = ticket)Content copied to clipboard
A setting left unset keeps the client's value. Pass options to JevApi.evaluate or JevApi.models directly, or wrap an API with withOptions so that query, ask and the blocking calls use them too. Options are checked when they're built and can't change afterwards, so one instance can be shared.