Arcane OS Docs Development only

Reference

Arcane.ollama.version()

Gets the managed Ollama version for Settings, Terminal, and Shell diagnostics.

  • Reference

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

Syntax

Arcane.ollama.version()

Parameters

None

Return value

Promise<OllamaVersionResponse>

Description

Gets the managed Ollama version for Settings, Terminal, and Shell diagnostics.

Overview

Arcane.ollama.version() reads the fixed local Ollama provider's version envelope. Use it for diagnostics and compatibility display, not as model readiness or authorization evidence.

Parameters

The method takes no arguments.

Return value

It resolves to Ollama's provider-native version JSON. Arcane requires valid JSON and bounds the response to 12 MiB, but provider fields can vary with the installed Ollama version.

Availability

This is a desktop Core diagnostic API requiring ai.models.read; it is admitted only to Settings, Shell, and Terminal. Core calls the fixed 127.0.0.1:11434 provider. The current Android projection and browser previews do not expose this method.

Errors and recovery

LOCAL_OLLAMA_REQUEST_FAILED covers an unavailable service, HTTP failure, or invalid provider response and marks retryable server failures where applicable. Refresh service status or use an admitted recovery workflow before retrying. METHOD_NOT_ALLOWED requires the correct diagnostic app.

Streaming, cancellation, and events

This is a non-streaming read with no method event or exposed signal. The provider request has a five-second Core timeout; the renderer also owns its outer request timeout.

Example

const versionInfo = await globalThis.Arcane.ollama.version();

console.info(versionInfo.version ?? 'Unknown Ollama version');

Reference group

AI and Ollama

Repository and reviewed source access