ImageGateOptions
Defined in: core/src/image.ts:26
Which images a gate looks at, and what its notes say. Left out, it gates every image.
Properties
Section titled “Properties”reason?
Section titled “reason?”optional reason?: string;Defined in: core/src/image.ts:38
The reason every note gives, in place of each image’s own. For a model that reads no
images, pass maxImages: 0 and a reason that says so: the cap’s own note,
“only the last 0 images are attached per request”, tells it nothing true.
toolResultsOnly?
Section titled “toolResultsOnly?”optional toolResultsOnly?: boolean;Defined in: core/src/image.ts:32
Gate only the images in tool results. The person’s own images stay as they are and do not
count toward maxImages: they are what the task is about, so a long run that drops them
forgets what it was asked. An old screenshot is the cheapest thing in a run to lose.