You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
investigationFind out how the TypeSafe API behaves before building on itpreview-apiDepends on TypeSafe behavior that may change before its API reaches 1.0
Assets and box questions need the request header TypeSafe-Danger-Zone-Images: true, and box questions need Jev 1.14 or later. Known facts come from two sources that differ:
The OpenAPI spec (v0.2.0) describes an asset as {type: "image", format: png | jpg | jpeg, data_base64}, or a part of a multipart request.
The README of a community client (jevclient) states PNG or JPEG up to 16 MiB, each side between 280 and 1568 px with larger images rejected instead of scaled, and a cost of about 2 x ceil(w/28) x ceil(h/28) input tokens per reference to an image.
Both are unverified against the live API. Images in evaluate() (#4) and the box primitive (#5) build on this probe.
Goal
Pin down how the live API handles images and box questions before the client builds checks on it.
Scope
Send small images, oversized images, an unsupported format, a request without the header, and several references to one asset. Record the responses.
Record the box answer shape, including a null confidence, and whether usage reports image tokens.
Record redacted fixtures with scripts/record_fixtures.py, and refresh the vendored OpenAPI snapshot if the spec changed.
Completion criteria
The fixtures are committed and the limits that matter for client-side checks are written down in the issues that use them.
investigationFind out how the TypeSafe API behaves before building on itpreview-apiDepends on TypeSafe behavior that may change before its API reaches 1.0
Activity