mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-09-21 00:22:45 +00:00
19 lines
734 B
Python
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",
|
|
]
|