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

Function getenv_nonempty

examples/langfuse_tracing.cpp:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25namespace {
26
27const char* getenv_nonempty(const char* name) {
28 const char* v = std::getenv(name);
29 return (v && *v) ? v : nullptr;
30}
31
32ai::JsonValue lookup_user(const ai::JsonValue& args,
33 const ai::ToolExecutionContext&) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected