Reference
Arcane.ollama.serviceSettings()
Gets managed Ollama service settings.
This focused page is derived from the mechanically checked full member inventory.
Syntax
Arcane.ollama.serviceSettings()
Parameters
None
Return value
Promise<OllamaServiceSettingsState>
Description
Gets managed Ollama service settings.
Overview
Arcane.ollama.serviceSettings() reads host-owned Ollama service configuration.
Use it to initialize the advanced Settings surface. Its object is intentionally
platform-dependent; feature-detect support and fields instead of assuming one
cross-platform exact shape.
Parameters
The method takes no arguments.
Return value
Microsoft NT reports effective settings and support state, including context,
residency, loaded-model, parallelism, queue, flash-attention, K/V-cache, and
no-cloud controls. Linux currently returns supported: false with a reason and
bounded administrative defaults because systemd override management remains
administrator-owned.
Availability
This is a desktop Core Settings-only method requiring ai.settings.manage.
The current Android projection and browser previews do not expose host service
settings.
Errors and recovery
Transport or native-adapter errors should leave controls read-only and present
the returned resolution. supported: false is a valid platform state, not a
reason to attempt renderer-side service-file edits.
Streaming, cancellation, and events
This is a non-streaming read with no method event or signal. Treat the result as a snapshot; machine capacity or administrator configuration can change before a later save.
Example
const state = await globalThis.Arcane.ollama.serviceSettings();
if (state.supported === false) {
console.info(state.reason ?? 'Service settings are managed externally.');
} else {
console.info(state.numParallel, state.maxLoadedModels);
}