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

#405: where the calls of a forked run's operation were made before the fork. More...

#include <core_provider_call.h>

Public Attributes

std::uint64_t max_attempt = 0
 Only calls the source journaled up to this attempt, before the fork.
 
bool may_resend = false
 #543: whether the fork may send a call the source already journaled at the same position when it can neither adopt the record nor show that the call differs.
 
std::vector< std::pair< std::string, std::string > > threads
 This run's Core threads of the operation, each with the source run's thread of the same derivation.
 

Detailed Description

#405: where the calls of a forked run's operation were made before the fork.

A fork of a paused run re-runs the paused invocation, which repeats the provider calls it made before it asked. A journaling broker replays such a call from the source run's record of the same slot, re-bound to the fork, instead of sending and charging it again.

Definition at line 32 of file core_provider_call.h.

Member Data Documentation

◆ may_resend

bool neograph::program::ProgramCoreProviderCallReplaySource::may_resend = false

#543: whether the fork may send a call the source already journaled at the same position when it can neither adopt the record nor show that the call differs.

False, the default, refuses such a call before it is sent (RuntimeConfig::fork_may_resend_provider_calls sets it).

Definition at line 44 of file core_provider_call.h.


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