v0.5.7: Fix tool counter spacing in metrics display

This commit is contained in:
Mario Zechner 2025-08-09 20:19:04 +02:00
parent 9fee306075
commit 832b20b173
9 changed files with 18 additions and 18 deletions

View file

@ -68,7 +68,7 @@ export class ConsoleRenderer implements AgentEventReceiver {
// Add tool call count
if (this.toolCallCount > 0) {
metricsText += chalk.dim(`${this.toolCallCount}`);
metricsText += chalk.dim(` ${this.toolCallCount}`);
}
console.log(metricsText);

View file

@ -305,7 +305,7 @@ export class TuiRenderer implements AgentEventReceiver {
// Add tool call count
if (this.toolCallCount > 0) {
tokenText += chalk.dim(`${this.toolCallCount}`);
tokenText += chalk.dim(` ${this.toolCallCount}`);
}
this.tokenStatusComponent = new TextComponent(tokenText);