NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
neograph::program::TaskGraphProposalLimits Struct Reference

Finite structural and resource ceilings enforced before a proposal is usable. More...

#include <task_graph_proposal.h>

Collaboration diagram for neograph::program::TaskGraphProposalLimits:
[legend]

Public Attributes

std::uint32_t max_attempts = 1
 Schema 2: the most attempts one task may declare. 1 means no retries.
 
std::uint32_t max_literal_bytes = 0
 Schema 2: bytes of canonical JSON one literal input may take. 0 refuses literals.
 
std::uint32_t max_total_literal_bytes = 0
 Schema 2: bytes of canonical JSON all the literals of a proposal may take together.
 
std::uint32_t min_schema_version = 1
 Lowest proposal schema version this host accepts.
 

Detailed Description

Finite structural and resource ceilings enforced before a proposal is usable.

Definition at line 65 of file task_graph_proposal.h.

Member Data Documentation

◆ min_schema_version

std::uint32_t neograph::program::TaskGraphProposalLimits::min_schema_version = 1

Lowest proposal schema version this host accepts.

Schema 1 lets a task leave a budget dimension unset; the launched child then receives the link's whole ceiling for it while the aggregate counts it as 0 (#412). A host that takes proposals from a planner sets this to 2, which requires every budget dimension to be explicit.

Definition at line 78 of file task_graph_proposal.h.


The documentation for this struct was generated from the following file: