Table of Contents

Method GetState

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

GetState<T>(string, T)

Retrieves a value from the shared state.

public T GetState<T>(string key, T defaultValue = default)

Parameters

key string

The state key.

defaultValue T

Default value if not found.

Returns

T

The stored value or default.

Type Parameters

T

The expected type.