Versions in this module Expand all Collapse all v0 v0.10.1 Feb 21, 2026 Changes in this version + func EnsureDockerModel(modelName string) (string, error) + func EnsureRamalamaModel(modelName string) error + func GetDockerModelVersion() string + func GetFirstModel() (string, error) + func GetRamalamaVersion() string + func IsDockerModelServeRunning(port int) bool + func ProvisionRamalama() error + func ResolveModelName(name string) (string, error) + func ServeDockerModel(cfg DockerModelServeConfig) error + func SetupOrUpdateDocker() error + func SetupOrUpdateRamalama() error + func StopDockerModelServe(port int) error + type DockerModelInfo struct + Config struct{ ... } + ID string + Tags []string + func InspectDockerModel(modelName string) (*DockerModelInfo, error) + func (m *DockerModelInfo) Hash() string + type DockerModelServeConfig struct + GPULayers int + ModelName string + Port int + Threads int + type Runner interface + BuildArgs func(args []string) ([]string, error) + CheckSetup func() (SetupStatus, error) + DisplayName func() string + EnsureModel func(model string) (string, error) + EnsureProvisioned func() error + GetCurrentVersion func() string + Name func() RunnerType + Serve func(model string, port int) error + Setup func() error + ValidatePrerequisites func(a app.App) error + func GetRunner(runnerType RunnerType) (Runner, error) + type RunnerType string + const RunnerDocker + const RunnerRamalama + type SetupStatus struct + CurrentVersion string + LatestVersion string + NeedsSetup bool