Skip to content

Comments

ai: add docker model runner.#1513

Merged
abiosoft merged 1 commit intomainfrom
docker-model-runner
Feb 20, 2026
Merged

ai: add docker model runner.#1513
abiosoft merged 1 commit intomainfrom
docker-model-runner

Conversation

@abiosoft
Copy link
Owner

@abiosoft abiosoft commented Feb 20, 2026

Generated by Copilot

This pull request introduces a major refactor to the AI model management commands, adding support for selecting between multiple model runners (Docker and Ramalama), streamlining runner setup and provisioning, and improving configuration handling. The changes also update command documentation and argument parsing, and unify model runner logic for easier extensibility.

Model runner selection and configuration:

  • Added support for selecting the AI model runner (docker, ramalama) via the --runner flag, instance config (modelRunner), and default value. The runner is now used throughout model commands for provisioning, argument building, and serving. [1] [2] [3]
  • Updated the start command to accept a --model-runner flag, and propagate this value into instance configuration. [1] [2]

Command logic and extensibility:

  • Refactored the model command to use runner-specific methods for validation, provisioning, argument building, and serving, replacing hardcoded Ramalama logic with a unified runner interface.
  • Added a new model serve command for serving models via a web UI and OpenAI-compatible API, using the selected runner.

Documentation and minor improvements:

  • Improved command documentation and examples to reflect runner selection and usage, and updated help text for clarity.
  • Updated version reporting to use the new runner interface for fetching Ramalama version. [1] [2]

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>
@abiosoft abiosoft force-pushed the docker-model-runner branch from c4a2de5 to ceaae92 Compare February 20, 2026 14:10
@abiosoft abiosoft changed the title ai: make docker the default model runner. ai: add docker model runner. Feb 20, 2026
@abiosoft abiosoft merged commit cb1aa93 into main Feb 20, 2026
15 checks passed
@abiosoft abiosoft deleted the docker-model-runner branch February 20, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant