| 1 |
from typing import Optional |
| 2 |
|
| 3 |
from .._models import BaseModel |
| 4 |
from .capability_support import CapabilitySupport |
| 5 |
|
| 6 |
__all__ = ["ContextManagementCapability"] |
| 7 |
|
| 8 |
|
| 9 |
class ContextManagementCapability(BaseModel): |
| 10 |
"""Context management capability details.""" |
| 11 |
|
| 12 |
clear_thinking_20251015: Optional[CapabilitySupport] = None |
| 13 |
"""Whether the clear_thinking_20251015 strategy is supported.""" |
| 14 |
|
| 15 |
clear_tool_uses_20250919: Optional[CapabilitySupport] = None |
| 16 |
"""Whether the clear_tool_uses_20250919 strategy is supported.""" |
| 17 |
|
| 18 |
compact_20260112: Optional[CapabilitySupport] = None |
| 19 |
"""Whether the compact_20260112 strategy is supported.""" |
| 20 |
|
| 21 |
supported: bool |
| 22 |
"""Whether this capability is supported by the model.""" |