MCPcopy Create free account
hub / github.com/ClickHouse/ai-sdk-cpp / set_input

Method set_input

src/langfuse/tracer.cpp:244–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242 trace_start_(std::chrono::system_clock::now()) {}
243
244void Trace::set_input(JsonValue input) {
245 if (ended_.load())
246 return;
247 std::lock_guard<std::mutex> lock(mu_);
248 input_ = std::move(input);
249}
250
251void Trace::set_output(JsonValue output) {
252 if (ended_.load())

Callers 2

start_traceMethod · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected