Line

You are reading the unreleased docs (next). See latest (v0.9)

ui/client/features/ollama/services/OllamaModelSelection

This feature's chosen "active" local model, persisted per-browser via localStorage — a per-viewer convenience, not shared state, so it lives here rather than round-tripping to ui/server.

Cockpit client (features), next. Source: ui/client/features/ollama/services/OllamaModelSelection.tsx.

Functions#

loadSelectedModel()#

loadSelectedModel(): string | null

Defined in: ui/client/features/ollama/services/OllamaModelSelection.tsx:10

Returns#

string | null


saveSelectedModel()#

saveSelectedModel(tag): void

Defined in: ui/client/features/ollama/services/OllamaModelSelection.tsx:18

Parameters#

tag

string

Returns#

void