Skip to content
PACKAGES

agentRequestProposalFromDecision()

Creates an agent request proposal from decision.

import { agentRequestProposalFromDecision } from "@graphrefly/ts/orchestration";
function agentRequestProposalFromDecision(
decision: AgentDecisionContinue,
proposal: Omit<AgentRequestProposal, "kind" | "effectRunId" | "agentRunId" | "sourceDecisionId">,
): AgentRequestProposal
ParameterTypeDescription
decisionAgentDecisionContinueAdmission decision or interpreter output to project.
proposalOmit<AgentRequestProposal, "kind" | "effectRunId" | "agentRunId" | "sourceDecisionId">Proposal to admit, issue, or project.

The agent request proposal from decision result.

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

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