Skip to content

Open source AI coding agent. Designed for large projects and real world tasks.

bit of cleanup, extra newline for subsequent messages

Dane Schneidere9570dcbb696
diff --git a/app/cli/cmd/credits_log.go b/app/cli/cmd/credits_log.go
index 49e3773d..2d9aaae8 100644
--- a/app/cli/cmd/credits_log.go
+++ b/app/cli/cmd/credits_log.go
@@ -77,8 +77,6 @@ func creditsLog(cmd *cobra.Command, args []string) {
desc += fmt.Sprintf("Plan β†’ %s\n", *transaction.DebitPlanName)
}
- fmt.Printf("base: %s, surcharge: %s\n", transaction.DebitBaseAmount, transaction.DebitSurcharge)
-
surchargePct := transaction.DebitSurcharge.Div(*transaction.DebitBaseAmount)
price := transaction.DebitModelPricePerToken.Mul(decimal.NewFromInt(1000000)).Mul(surchargePct.Add(decimal.NewFromInt(1))).StringFixed(4)
diff --git a/app/cli/stream_tui/update.go b/app/cli/stream_tui/update.go
index 1376b10a..d9ef107b 100644
--- a/app/cli/stream_tui/update.go
+++ b/app/cli/stream_tui/update.go
@@ -288,7 +288,7 @@ func (m *streamUIModel) streamUpdate(msg *shared.StreamMessage, deferUIUpdate bo
m.buildOnly = true
}
if len(msg.InitReplies) > 0 {
- m.reply = strings.Join(msg.InitReplies, "\n\nπŸ‘‡\n")
+ m.reply = strings.Join(msg.InitReplies, "\n\nπŸ‘‡\n\n")
}
m.updateReplyDisplay()
@@ -307,7 +307,7 @@ func (m *streamUIModel) streamUpdate(msg *shared.StreamMessage, deferUIUpdate bo
if m.promptedMissingFile {
m.promptedMissingFile = false
} else {
- m.reply += "\n\nπŸ‘‡\n"
+ m.reply += "\n\nπŸ‘‡\n\n"
}
}