mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 14:01:06 +00:00
Add padding to Aborted text for consistent spacing
This commit is contained in:
parent
dbee5b69ec
commit
cef526ce4d
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ export class AssistantMessageComponent extends Container {
|
|||
const hasToolCalls = message.content.some((c) => c.type === "toolCall");
|
||||
if (!hasToolCalls) {
|
||||
if (message.stopReason === "aborted") {
|
||||
this.contentContainer.addChild(new Text(chalk.red("Aborted")));
|
||||
this.contentContainer.addChild(new Text(chalk.red("Aborted"), 1, 0));
|
||||
} else if (message.stopReason === "error") {
|
||||
const errorMsg = message.errorMessage || "Unknown error";
|
||||
this.contentContainer.addChild(new Text(chalk.red(`Error: ${errorMsg}`)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue