Skip to main content

ler_env_var_chave

Function ler_env_var_chave 

Source
pub fn ler_env_var_chave() -> 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.