Interface BetaContextManagementConfig.Edit.Visitor
-
- All Implemented Interfaces:
public interface BetaContextManagementConfig.Edit.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract TvisitClearToolUses20250919(BetaClearToolUses20250919Edit clearToolUses20250919)abstract TvisitClearThinking20251015(BetaClearThinking20251015Edit clearThinking20251015)abstract TvisitCompact20260112(BetaCompact20260112Edit compact20260112)Automatically compact older context when reaching the configured trigger threshold. Tunknown(JsonValue json)Maps an unknown variant of Edit to a value of type T. -
-
Method Detail
-
visitClearToolUses20250919
abstract T visitClearToolUses20250919(BetaClearToolUses20250919Edit clearToolUses20250919)
-
visitClearThinking20251015
abstract T visitClearThinking20251015(BetaClearThinking20251015Edit clearThinking20251015)
-
visitCompact20260112
abstract T visitCompact20260112(BetaCompact20260112Edit compact20260112)
Automatically compact older context when reaching the configured trigger threshold.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of Edit to a value of type T.
An instance of Edit can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.
-
-
-
-