Skip to main content

setup_local

Function setup_local 

Source
pub fn setup_local() -> Result<SimilarCodeProviderStatus, String>
Expand description

Download and verify the pinned local model through the installed provider.

Callers must obtain explicit human confirmation before invoking this API. MCP, NAPI, project configuration, and agent workflows intentionally do not expose this mutation.

ยงErrors

Returns a structured message when setup fails or provenance is invalid.