|
Agents 1.4.0
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 = false |
| Whether human feedback is enabled. | |
| std::function< bool(const std::string &, const JsonObject &, std::string &)> | human_in_the_loop |
| The human in the loop function. | |
Agent execution options.
| std::function<bool(const std::string&, const JsonObject&, std::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 |