Arcane OS Docs Development only

Reference

Arcane.ollama.settings()

Gets Ollama runtime settings.

  • Reference

This focused page is derived from the mechanically checked full member inventory.

Syntax

Arcane.ollama.settings()

Parameters

None

Return value

Promise<ArcaneModelSelection>

Description

Gets Ollama runtime settings.

Overview

Arcane.ollama.settings() reads the complete managed AI runtime/provider settings snapshot for the Settings application. It returns the same ArcaneModelSelection shape as selection(), but has the stronger settings-management boundary.

Parameters

The method takes no arguments.

Return value

The snapshot contains model preference and aliases, default/boot settings, provider, OpenAI model, response length, protected-credential presence, GPU diagnostics, and recommendation state. Credentials are never returned.

Availability

This is a desktop Core Settings-only API requiring ai.settings.manage. Android and browser previews do not expose it.

Errors and recovery

Method-admission or transport errors require the correct Settings host. Treat the result as a single snapshot; do not merge stale provider fields into a later runtime-settings save.

Streaming, cancellation, and events

This is a non-streaming read with no method event or signal. A concurrent settings or selection mutation can invalidate it immediately.

Example

const settings = await globalThis.Arcane.ollama.settings();

console.info({
    defaultModel: settings.defaultModel,
    bootLoad: settings.bootLoad,
    contextLength: settings.contextLength
});

Reference group

AI and Ollama

Repository and reviewed source access