summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-01-02 22:16:06 +0300
committerGrail Finder <wohilas@gmail.com>2026-01-02 22:16:06 +0300
commit6b875a2782e77afe6595b47d069a217fa2702eb1 (patch)
tree4d39a9933f08afecb41cd1d2956550cd67f75812
parentd7c443c8930fdae24b1bbf98a9d6a2e7cf197cf2 (diff)
Enha: more \n
-rw-r--r--bot.go4
1 files 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,