content_mutation library
Classes
- ChatTextAppend
- ChatTextMutation
- Computes an atomic content mutation before any host budget admission. Both native adapters and the app controller use this same retained-size algorithm.
Functions
-
chatToolCallId(
Map< String, Object?> metadata) → String -
findChatToolMessage(
List< ChatMessageView> messages, String callId, {int? turnId}) → int -
mergeChatToolMetadata(
Map< String, Object?> previous, Map<String, Object?> update) → Map<String, Object?> - Null fields are omissions. Explicit empty collections replace prior values.