Skip to content

Commit 786acee

Browse files
committed
Include llm responses in the conversation by default
1 parent 0dd9dc9 commit 786acee

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/repl/conf.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func NewConfigOptions() *ConfigOptions {
7777
co.RegisterOption("chat.log", BooleanOption, "Enable conversation logging", "true")
7878
// Memory option: load consolidated memory from ~/.config/mai/memory.txt into conversation context
7979
co.RegisterOption("chat.memory", BooleanOption, "Load memory.txt from ~/.config/mai and include in context", "false")
80-
co.RegisterOption("chat.replies", BooleanOption, "Include chat replies when building a single prompt", "false")
80+
co.RegisterOption("chat.replies", BooleanOption, "Include chat replies when building a single prompt", "true")
8181
co.RegisterOption("chat.save", StringOption, "Session save behavior on exit: always, never, or prompt", "prompt")
8282
co.RegisterOption("chat.system", BooleanOption, "Include chat system messages when building a single prompt", "true")
8383
// Number of most recent messages to include when sending to the LLM (0 = all)

src/repl/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ func showHelp() {
368368
-M enable MCP mode (run as MCP agent)
369369
-m <model> select the model for the given provider
370370
-n do not load rc file and disable REPL history
371-
-N disable chat replies (alias for /set chat.replies=never)
371+
-N disable chat replies (alias for /set chat.replies=false)
372372
-p <provider> select the provider to use
373373
-q quit after running given actions
374374
-r <command> execute command and enter REPL (allows piping input)
@@ -653,7 +653,7 @@ func main() {
653653
i--
654654
case "-N":
655655
// Disable chat replies
656-
_ = configOptions.Set("chat.log", "never")
656+
_ = configOptions.Set("chat.replies", "false")
657657
args = append(args[:i], args[i+1:]...)
658658
i--
659659
case "-t":

0 commit comments

Comments
 (0)