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

Method createCompleted

core/src/function_call/agenui_functioncall_resolution.cpp:32–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32FunctionCallResolution FunctionCallResolution::createCompleted(const std::string& requestId, const nlohmann::json& value) {
33 FunctionCallResolution result;
34 result._status = FunctionCallStatus::Completed;
35 result._requestId = requestId;
36 result._value = value;
37 return result;
38}
39
40FunctionCallResolution FunctionCallResolution::fromPlatformResult(const FunctionCallResult& platformResult) {
41 if (platformResult.status == FunctionCallStatus::Error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected