AS AgentScopeAPI 手册 / API Reference
包package io.agentscope.harness.agent.memory.compaction

io.agentscope.harness.agent.memory.compaction

package io.agentscope.harness.agent.memory.compaction

io.agentscope.harness.agent.memory.compaction 属于状态·记忆·会话,跨调用持久化与多租户隔离。 该包共收录 10 个公开类型。

io.agentscope.harness.agent.memory.compaction belongs to the State, memory & sessions layer and contains 10 public types.

所属构件Artifacts agentscope-harness

类Classes

类型Type种类Kind说明Description
CompactionConfig类class
压缩配置,保存相关配置项。
Configuration for conversation compaction (summarization).
ConversationCompactor类class
会话 Compactor,在多次调用之间保存和恢复会话与记忆数据。
Algorithm
TokenCounterUtil类class
令牌 Counter Util,在多次调用之间保存和恢复会话与记忆数据。
Utility class for estimating token count in messages.
ToolResultEvictionConfig类class
工具结果淘汰配置,保存相关配置项。
Configuration for per-tool-result eviction of oversized outputs.
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.