From 459028e79ebfc594d2dc47552cffb3eb43b1d404 Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 15 Dec 2025 13:53:14 -0700 Subject: [PATCH] Allow empty system prompt in configurator --- meshai/cli/configurator.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/meshai/cli/configurator.py b/meshai/cli/configurator.py index 3fb2024..3e5dabe 100644 --- a/meshai/cli/configurator.py +++ b/meshai/cli/configurator.py @@ -292,11 +292,12 @@ class Configurator: self.modified = True elif choice == 5: console.print("\n[dim]Current prompt:[/dim]") - console.print(self.config.llm.system_prompt) + console.print(self.config.llm.system_prompt or "(empty)") console.print() if Confirm.ask("Edit system prompt?", default=False): - value = Prompt.ask("New system prompt") - if value: + console.print("[dim]Enter new prompt, or leave empty to clear[/dim]") + value = Prompt.ask("New system prompt", default="") + if value != self.config.llm.system_prompt: self.config.llm.system_prompt = value self.modified = True