Table of Contents

Method HasSameConfiguration

Namespace
LMKit.Agents
Assembly
LM-Kit.NET.dll

HasSameConfiguration(AgentDefinition)

Whether other configures the same agent as this definition: every field equal in their canonical JSON form, the Revision aside. A host uses it to tell a real change (a new revision) from a save that changed nothing.

public bool HasSameConfiguration(AgentDefinition other)

Parameters

other AgentDefinition

The definition to compare with.

Returns

bool

true when the two configure the same agent.

Share