Skip to content

Accept images in evaluate() #4

Open

Description

@VianneyMI

Context

Jev reads images placed in the state and in questions. evaluate() accepts text and structured data only. The live limits come from the probe in #3.

Goal

Ask questions about images through evaluate().

Scope

  • Images are passed as bytes or pathlib.Path and referenced from the state or a question by a placeholder.
  • The TypeSafe-Danger-Zone-Images: true header is sent whenever a request carries assets.
  • Client-side checks for format and size use the limits recorded in Probe images and box against the live API #3, and each error names the limit that was exceeded.
  • Documentation states that each reference to an image adds its tokens again.

Design considerations

Completion criteria

  • Tests replay recorded fixtures for sync and async, a live test uses a real image, and the README has an images section.

Activity

  1. added this to the v0.3: Images and box milestone on Nov 8, 2026
  2. added
    enhancement
    on Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions