AgentContextIndex

@Serializable
data class AgentContextIndex(val compactedRounds: AgentContextIndex.CompactedRounds?, val historyRounds: List<AgentContextIndex.CompletedRound>?, val currentRound: AgentContextIndex.CurrentRound?) : UuidIndex(source)

Constructors

Link copied to clipboard
constructor(compactedRounds: AgentContextIndex.CompactedRounds?, historyRounds: List<AgentContextIndex.CompletedRound>?, currentRound: AgentContextIndex.CurrentRound?)

Types

Link copied to clipboard
@Serializable
data class CompactedRounds(val compactedRounds: AgentContextIndex.CompactedRounds?, val rounds: List<AgentContextIndex.CompletedRound>, val summarizedMessage: UUID) : UuidIndex
Link copied to clipboard
@Serializable
data class CompletedRound(val userMessage: UUID, val turns: List<AgentContextIndex.Turn>?, val finalAssistantMessage: UUID?) : UuidIndex
Link copied to clipboard
@Serializable
data class CurrentRound(val userMessage: UUID, val turns: List<AgentContextIndex.Turn>?, val assistantMessage: UUID?, val pendingToolCalls: List<UUID>?) : UuidIndex
Link copied to clipboard
@Serializable
data class Turn(val assistantMessage: UUID, val tools: List<AgentContextIndex.Turn.Tool>) : UuidIndex

Properties

Functions

Link copied to clipboard
open override fun ids(): Set<UUID>

整个索引结构中引用的全部 UUID