MCPcopy Create free account
hub / github.com/AGenUI/AGenUI / createSuccess

Method createSuccess

core/src/function_call/agenui_functioncall_resolution.cpp:11–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9}
10
11FunctionCallResolution FunctionCallResolution::createSuccess(const nlohmann::json& value) {
12 FunctionCallResolution result;
13 result._status = FunctionCallStatus::Success;
14 result._value = value;
15 return result;
16}
17
18FunctionCallResolution FunctionCallResolution::createError(const std::string& error) {
19 FunctionCallResolution result;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected