MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _get_first_env_value

Function _get_first_env_value

skills/embedding/scripts/embed.py:74–79  ·  view source on GitHub ↗
(*names: str)

Source from the content-addressed store, hash-verified

72def _is_placeholder_openai_key(api_key: Optional[str]) -> bool:
73 normalized = str(api_key or "").strip().lower()
74 if not normalized:
75 return True
76 return (
77 "your-api-key" in normalized
78 or normalized.endswith("-here")
79 or normalized == "sk-your-api-key-here"
80 )
81
82

Callers 6

_get_openai_api_keyFunction · 0.70
_get_openai_base_urlFunction · 0.70
_get_openai_timeoutFunction · 0.70
__init__Method · 0.70

Calls 1

getMethod · 0.80

Tested by

no test coverage detected