From 6b875a2782e77afe6595b47d069a217fa2702eb1 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Fri, 2 Jan 2026 22:16:06 +0300 Subject: Enha: more \n --- bot.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.go b/bot.go index b91c6e4..123bf75 100644 --- a/bot.go +++ b/bot.go @@ -658,7 +658,7 @@ func chatRound(userMsg, role string, tv *tview.TextView, regen, resume bool) { go sendMsgToLLM(reader) logger.Debug("looking at vars in chatRound", "msg", userMsg, "regen", regen, "resume", resume) if !resume { - fmt.Fprintf(tv, "\n[-:-:b](%d) ", len(chatBody.Messages)) + fmt.Fprintf(tv, "\n\n[-:-:b](%d) ", len(chatBody.Messages)) fmt.Fprint(tv, roleToIcon(botPersona)) fmt.Fprint(tv, "[-:-:-]\n") if cfg.ThinkUse && !strings.Contains(cfg.CurrentAPI, "v1") { @@ -909,7 +909,7 @@ func findCall(msg, toolCall string, tv *tview.TextView) { toolMsg := string(resp) // Remove the "tool response: " prefix and %+v formatting logger.Info("llm used tool call", "tool_resp", toolMsg, "tool_attrs", fc) fmt.Fprintf(tv, "%s[-:-:b](%d) <%s>: [-:-:-]\n%s\n", - "\n", len(chatBody.Messages), cfg.ToolRole, toolMsg) + "\n\n", len(chatBody.Messages), cfg.ToolRole, toolMsg) // Create tool response message with the proper tool_call_id toolResponseMsg := models.RoleMsg{ Role: cfg.ToolRole, -- cgit v1.2.3