Repository navigation
fix(studio): keep GGUF compaction for multimodal chats - #10158
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Confirmed the media request in studio/frontend/src/features/chat/api/chat-adapter.ts still keys compaction off the catalog row, so a GGUF selected by native path or raw .gguf misses it, and routing that through isServedByLlamaCpp looks right. Will get this reviewed. |
|
@codex review |
|
@codex security review |
|
Security review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep it up! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
1 similar comment
|
@codex review |
|
Codex Review: Something went wrong. Try again later by commenting “@codex review”. ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Thanks @Biotrioo. I confirmed the failure this fixes. Load a GGUF from a filesystem path, let the idle auto-unload free it, then return to the Studio window: that model's row drops out of the catalog, and on main the next chat request goes out with no I pushed two commits to the branch while reviewing. One reads the verdict from I did not reproduce the specific case in #10155, where attaching an image failed while text worked. If that symptom survives this build, please reopen it with fresh logs. The compaction loss fixed here is real either way. Everything live was exercised on Linux, and the four red checks at merge time all reproduce on a clean main checkout. |
Fixes #10155
Queued local runs now retain the GGUF/llama.cpp serving verdict captured when they were queued. The adapter applies the same
isServedByLlamaCppdecision used by the model settings, including opaque Ollama/native paths where a catalog suffix or quant is absent. The verdict is threaded through queued runtime snapshots and loaded-model resolution, so selecting another provider while a local follow-up waits cannot silently disable compaction.Merged current main (191b69c), preserving its updated queued runtime and maintainer changes. Removed unrelated pre-commit formatting churn from the original branch.
Validation: 69 focused compaction, rolling-window, sampling-seed, model-config and reservation tests passed; the queue contract test passed 16/16; frontend application/test typechecks passed; targeted ESLint now reports only the 14 pre-existing chat-adapter findings from current main; git diff --check passed. GPU/backend inference and full desktop queue execution remain CI coverage, so this PR remains a draft.