MCPcopy Create free account
hub / github.com/InfinitiBit/graphbit / has_openai_key

Function has_openai_key

tests/rust_unit_tests/test_helpers.rs:16–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14// API Key Helpers
15#[allow(dead_code)]
16pub(super) fn has_openai_key() -> bool {
17 env::var("OPENAI_API_KEY").is_ok()
18}
19
20#[allow(dead_code)]
21pub(super) fn has_anthropic_key() -> bool {

Callers 3

test_openai_llmFunction · 0.70
test_openai_embeddingsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected