tinker.types.ClientConfigResponse
class tinker.types.ClientConfigResponse(BaseModel)
Server-side feature flags resolved for this caller.
Uses BaseModel (extra="ignore") so new flags from the server are silently dropped until the SDK adds fields for them.
Fields:
- pjwt_auth_enabled (bool)
- credential_default_source (str)
- sample_dispatch_bytes_semaphore_size (int)
- inflight_response_bytes_semaphore_size (int)
- parallel_fwdbwd_chunks (bool)
- proto_write_fwdbwd (bool) – When true, the SDK serializes ForwardBackwardRequest as proto bytes and POSTs with Content-Type: application/x-protobuf. Falls back to JSON when false (default) or when the request can't be encoded in proto.
- proto_compress_fwdbwd (bool) – When true (and proto_write_fwdbwd is also true), the SDK zstd-compresses the proto fwd/bwd request body and sets Content-Encoding: zstd. Real fwd/bwd payloads compress >10× — the API server decompresses transparently via an ASGI middleware. Ignored on the JSON path.
- billing_exception_max_pause_duration_sec (int)
- sample_no_retries (bool)
- use_pyqwest_transport (bool) – When true, the SDK builds its default httpx async client on top of the pyqwest (reqwest/hyper-based) transport adapter. Set to false server-side to force every client to fall back to httpx's default transport.