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

Thrown by a Tool that knows its call did not run (see ToolRequestRefusal). More...

#include <tool_execution.h>

Inheritance diagram for neograph::ToolRequestRejected:
[legend]
Collaboration diagram for neograph::ToolRequestRejected:
[legend]

Public Member Functions

bool retryable () const noexcept override
 Whether sending the same request again may succeed.
 

Detailed Description

Thrown by a Tool that knows its call did not run (see ToolRequestRefusal).

Definition at line 144 of file tool_execution.h.

Member Function Documentation

◆ retryable()

bool neograph::ToolRequestRejected::retryable ( ) const
inlineoverridevirtualnoexcept

Whether sending the same request again may succeed.

A request refused for its content does not: the model has to change it.

Implements neograph::ToolRequestRefusal.

Definition at line 148 of file tool_execution.h.


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