Skip to content
PACKAGES

agentRequestLedgerViews()

Creates an agent request ledger views.

import { agentRequestLedgerViews } from "@graphrefly/ts/orchestration";
function agentRequestLedgerViews(
graph: Graph,
facts: Node<AgentRequestFact>,
opts: { readonly name?: string } = {},
): AgentRequestLedgerBundle
ParameterTypeDescription
graphGraphGraph that owns the created nodes or projector.
factsNode<AgentRequestFact>facts value used by the helper.
opts{ readonly name?: string }Options that configure the helper.

The agent request ledger views result.

import { agentRequestLedgerViews } from "@graphrefly/ts/orchestration";

packages/ts/src/orchestration/agent-runtime-request-ledger.ts