feat: Model Control Center with embedded LLM inference#380
Merged
CalebisGross merged 1 commit intomainfrom Apr 8, 2026
Merged
Conversation
Self-contained embedded inference via llama.cpp with ROCm GPU acceleration. No external servers needed — the mnemonic binary IS the inference engine. - EmbeddedProvider: hot-swap models (SwapChatModel/SwapEmbedModel), Unload/Reload for VRAM management, manifest-based model listing (models.json) - SwitchableProvider: runtime toggle between embedded and Gemini API without restart - ModelManager interface decouples API routes from provider internals - API: GET/POST /api/v1/models, GET/POST /api/v1/models/active - Dashboard: Models tab with status cards, model table, swap buttons, provider toggle - ChatML prompt format with /no_think for Qwen 3.5 compatibility - Strip <think>...</think> tokens from model output - <|im_end|> stop sequence for proper turn boundaries - Qwen spoke fusion in export script, inner-dim fix in RQ4 quantizer Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
CalebisGross
added a commit
that referenced
this pull request
Apr 10, 2026
Test expected old Felix-LM format (<|system|>) but code switched to ChatML (<|im_start|>system) with /no_think in PR #380. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
/no_thinkto disable reasoning tokens,<think>stripping,<|im_end|>stop sequences.Files Changed
embedded.go,switchable.go,provider.goroutes/models.go,server.gomodels.js,index.html,nav.js,app.jsruntime.go,serve.goexport_qwen35_spokes.py,quantize_rq4.pyTest plan
go vet ./...cleango test ./...all passgolangci-lint runzero issues in changed packages🤖 Generated with Claude Code