ReMe/reme_ai/context/offload/__init__.py

19 lines
734 B
Python

"""Context offload package for ReMe framework.
This package provides context management operations that can be used in LLM-powered flows
to reduce token usage and manage context window limits. It includes ready-to-use operations for:
- ContextCompactOp: Compact tool messages by storing full content in external files
- ContextCompressOp: Compress conversation history using LLM to generate concise summaries
- ContextOffloadOp: Orchestrate compaction and compression to reduce token usage
"""
from .context_compact_op import ContextCompactOp
from .context_compress_op import ContextCompressOp
from .context_offload_op import ContextOffloadOp
__all__ = [
"ContextCompactOp",
"ContextCompressOp",
"ContextOffloadOp",
]