Agents 0.0.2
Edge AI Agents SDK
|
Agent execution options. More...
#include <agent.h>
Public Attributes | |
int | max_iterations = 10 |
The maximum number of iterations. | |
int | max_consecutive_errors = 3 |
The maximum number of consecutive errors. | |
bool | human_feedback_enabled = true |
Whether human feedback is enabled. | |
std::function< bool(const String &, const JsonObject &, String &)> | human_in_the_loop |
The human in the loop function. | |
Agent execution options.
std::function<bool(const String&, const JsonObject&, String&)> agents::Agent::Options::human_in_the_loop |
The human in the loop function.
message | The message to approve |
context | The context |
modifications | Output parameter for human modifications |