Supported Types
EditClearToolUses20250919
EditClearThinking20251015
EditCompact20260112
Union Discrimination
Use theType field to determine which variant is active, then access the corresponding field:
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
edit := components.CreateEditClearToolUses20250919(components.EditClearToolUses20250919{/* values here */})
edit := components.CreateEditClearThinking20251015(components.EditClearThinking20251015{/* values here */})
edit := components.CreateEditCompact20260112(components.EditCompact20260112{/* values here */})
Type field to determine which variant is active, then access the corresponding field:
switch edit.Type {
case components.EditTypeClearToolUses20250919:
// edit.EditClearToolUses20250919 is populated
case components.EditTypeClearThinking20251015:
// edit.EditClearThinking20251015 is populated
case components.EditTypeCompact20260112:
// edit.EditCompact20260112 is populated
}