Skip to main content

Function: withoutImageData()

withoutImageData<T>(value): T

Defined in: packages/core/src/utils/tool-content.ts:261

A tool result as history keeps it: every image (at the top level, or inside a content list) replaced by a short text note. Values without images come back unchanged (same reference).

Type Parameters​

T​

T

Parameters​

value​

T

Returns​

T