Open Agent Loops
API Reference

ChannelBridgeOptions

@open-agent-loops/core


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

Options for a ChannelBridge. The throttling knobs are forwarded to the dispatcher the bridge creates.

Properties

PropertyTypeDescriptionDefined in
baseDispatcherRunBaseShared run config (model, memory, tools, system, …) for every session.channels/channel-bridge.ts:52
capacity?numberPer-session inbound buffer capacity. See DispatcherOptions.capacity.channels/channel-bridge.ts:56
maxConcurrency?numberMax runs in flight across all sessions. See DispatcherOptions.maxConcurrency.channels/channel-bridge.ts:60
onError?(error, sessionId) => voidObserve a run that failed (non-abort). See DispatcherOptions.onError.channels/channel-bridge.ts:64
overflow?OverflowPolicy<Message>Inbound overflow policy. See DispatcherOptions.overflow.channels/channel-bridge.ts:58
sessionIdFor?(message) => stringMap an inbound message to a sessionId. Default defaultSessionId.channels/channel-bridge.ts:54
sourceChannelSourceThe transport to connect.channels/channel-bridge.ts:50
supersede?booleanAbort the in-flight run when a newer message arrives. See DispatcherOptions.supersede.channels/channel-bridge.ts:62

On this page