Complete Docker ecosystem integration and common LLM runtime flow - #20
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Complete the LocalDevStack bottom-up Docker ecosystem integration and adapt local AI to the final mutually-exclusive provider architecture.
Local AI architecture
Exactly one provider is active per stack:
llm-fastflowandllm-ollamaare mutually exclusive and never intentionally run together. The active service owns the common Docker aliasllm:11434.Provider-neutral consumers use:
Provider-specific routes remain available for diagnostics/native operations.
Runtime/model behavior
lds llm runtime auto|npu|nvidia|amd|cpucontrols explicit runtime selection.qwen3.5:9b.qwen3:14b.LDS_AI_MODELblank so the active provider default applies.llm.localhost:11434/v1route and validates the selected model through/v1/models.LDS_AI_THINK/lds llm think <auto|on|off>provide one common thinking override across Ollama and FastFlow API-backed commands.LDS_LLM_ARCHhas been removed; tracked Ollama uses:latestdirectly and the AMD runtime override selects:amd-latestdirectly.Provider persistence
Neither provider receives a Docker socket or project/repository bind mount by default.
Other completed hardening
Validation
Final branch validation covers:
llm-fastflow:latestand Ollama image referencesllmconsumer contractPlan
docs/plans/docker-ecosystem/07-localdevstack-integration-plan.mdThe final AI provider override at the end of the plan supersedes the earlier Ollama-only planning text.