Open Agent Loops
API Reference

defaultSessionId

@open-agent-loops/core


function defaultSessionId(message): string;

Defined in: channels/channel-bridge.ts:38

The default thread → sessionId mapping: one conversation per thread (falling back to the channel when a provider doesn't thread). Override via ChannelBridgeOptions.sessionIdFor for per-channel or per-user grain.

Parameters

ParameterType
messageInboundMessage

Returns

string

On this page