refactor(settings): seed system prompt body to show in settings panel#142
Merged
quiet-node merged 3 commits intomainfrom May 7, 2026
Merged
refactor(settings): seed system prompt body to show in settings panel#142quiet-node merged 3 commits intomainfrom
quiet-node merged 3 commits intomainfrom
Conversation
88b5e4b to
67a2c75
Compare
Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com>
Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com>
…ack exception Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com>
67a2c75 to
3eba59f
Compare
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
[prompt] systemfield was treated as "use built-in" when blank, so thetextarea had nothing to render. The persona was hidden inside a Rust
constant the user could not see or edit.
run the loader seeds
[prompt] systemwith the full built-in body, sothe textarea always shows the actual prompt the model receives. Editing
the textarea now edits the prompt in place, no fallback constant
consulted at runtime.
(still never written to disk) so
/searchetc. keep working.so the ~17 KB built-in body is readable without manual resizing.
settings.yml.newdump.Test plan
bun run test:all:coverage— 100% lines/branches/funcs frontend; cargo llvm-cov passes--fail-under-lines 100bun run validate-build— zero warnings, zero errors~/Library/Application Support/com.quietnode.thuki/config.toml, launch app, open Settings → AI → Prompt, confirm textarea is prefilled with the persona body[prompt] system = ""saves cleanly and only the slash-command appendix is sent