Skip to main content

setup_cloud_interactive

Function setup_cloud_interactive 

Source
pub fn setup_cloud_interactive() -> Result<bool>
Expand description

Interactive Ollama Cloud setup. Mermaid resolves the cloud key from the OLLAMA_API_KEY environment variable only — it is never written to config.toml (#88), matching how every other provider key is handled. So this explains how to set the variable rather than prompting for and saving a secret to disk. Returns whether the key is currently configured.