Improve the default system prompt

This commit is contained in:
Georg Bauer
2026-07-27 14:26:10 +02:00
parent a90a241ae1
commit 8f02f0934b
5 changed files with 28 additions and 15 deletions

View File

@@ -173,12 +173,11 @@ impl App {
text("System prompt").size(13),
"Standing instruction sent before every conversation: persona, tone, house rules. Leave it empty to send no system message at all.",
),
text_input(
"You are a helpful assistant",
&self.preference_draft.system_prompt,
)
.on_input(Message::PreferenceSystemPromptChanged)
.padding(9),
text_editor(&self.preference_draft.system_prompt)
.placeholder("Additional system instructions…")
.height(140)
.on_action(Message::PreferenceSystemPromptAction)
.padding(9),
Space::new().height(4),
text("SAMPLING & REASONING").size(11).color(muted_text()),
preference_input_row(