Skip to main content

llm_key

Function llm_key 

Source
pub fn llm_key(
    team: Option<&str>,
    server: Option<&Server>,
) -> (Option<String>, Source)
Expand description

The API key for team (a team name): its entry, else the default, else OPENAI_API_KEY; on a server, the deployment’s key or the one stored there.