agentRequestProposalFromDecision()
Creates an agent request proposal from decision.
Import
Section titled “Import”import { agentRequestProposalFromDecision } from "@graphrefly/ts/orchestration";Signature
Section titled “Signature”function agentRequestProposalFromDecision( decision: AgentDecisionContinue, proposal: Omit<AgentRequestProposal, "kind" | "effectRunId" | "agentRunId" | "sourceDecisionId">,): AgentRequestProposalParameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
decision | AgentDecisionContinue | Admission decision or interpreter output to project. |
proposal | Omit<AgentRequestProposal, "kind" | "effectRunId" | "agentRunId" | "sourceDecisionId"> | Proposal to admit, issue, or project. |
Returns
Section titled “Returns”The agent request proposal from decision result.
Example
Section titled “Example”import { agentRequestProposalFromDecision } from "@graphrefly/ts/orchestration";Source
Section titled “Source”packages/ts/src/orchestration/agent-runtime-request-ledger.ts