Skip to main content

Module compress_shared

Module compress_shared 

Source
Expand description

Provider-neutral classification for content blocks compressed in place.

Enums§

ToolKind
Semantic type of a provider content block.

Functions§

classify_tool_kind
Classify the common content-block types used by provider request shapes.
should_compress_content
Whether this block kind carries text that may be compressed in place.
tool_result_kind
Resolve a tool name to its result kind, preserving the unknown-tool fallback.