Skip to main content

read_env_var_key

Function read_env_var_key 

Source
pub fn read_env_var_key() -> Option<Vec<String>>
Expand description

Layer 1: reads keys from the CONTEXT7_API_KEYS runtime environment variable.

Accepts multiple comma-separated keys: CONTEXT7_API_KEYS=ctx7sk-a,ctx7sk-b,ctx7sk-c Whitespace around each key is trimmed automatically. Returns None if the variable is not set or is empty.