NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
result.h File Reference

Immutable outcome of one Program run attempt. More...

#include <neograph/api.h>
#include <neograph/json.h>
#include <neograph/program/pending.h>
#include <neograph/types.h>
#include <core/native_archive.h>
#include <cstdint>
#include <exception>
#include <memory>
#include <optional>
#include <string>
#include <string_view>
#include <vector>
Include dependency graph for result.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  neograph::program::ProgramMonetaryRecord
 One provider call of a Program attempt, priced in micro-USD (1e-6 USD). More...
 

Enumerations

enum class  neograph::program::ProgramMonetaryEvidence : std::uint8_t { Reported , Estimated , Held }
 Where the amount of one priced provider call came from. More...
 

Detailed Description

Immutable outcome of one Program run attempt.

Definition in file result.h.

Enumeration Type Documentation

◆ ProgramMonetaryEvidence

enum class neograph::program::ProgramMonetaryEvidence : std::uint8_t
strong

Where the amount of one priced provider call came from.

Enumerator
Reported 

The provider's own cost for the call (OpenRouter usage.cost).

Estimated 

The price catalog applied to the call's reported token usage.

Held 

The outcome or its usage is unknown, so the call's reservation is charged.

Definition at line 79 of file result.h.