Table of Contents

Class AgentCompactedEvent

Namespace
Emissary
Assembly
Emissary.dll

Older messages were summarized to keep the conversation inside the context window (see CompactionOptions).

public sealed record AgentCompactedEvent : AgentEvent, IEquatable<AgentEvent>, IEquatable<AgentCompactedEvent>
Inheritance
AgentCompactedEvent
Implements
Inherited Members

Constructors

AgentCompactedEvent(int, string)

Older messages were summarized to keep the conversation inside the context window (see CompactionOptions).

public AgentCompactedEvent(int MessagesSummarized, string Summary)

Parameters

MessagesSummarized int

How many messages the summary replaced.

Summary string

The summary that replaced them.

Properties

MessagesSummarized

How many messages the summary replaced.

public int MessagesSummarized { get; init; }

Property Value

int

Summary

The summary that replaced them.

public string Summary { get; init; }

Property Value

string