From fce5c7d486b6cfc14682164098651c329bcef364 Mon Sep 17 00:00:00 2001 From: at2005 Date: Tue, 1 Oct 2024 21:27:49 +0000 Subject: [PATCH] message --- src/lib/buy.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/buy.ts b/src/lib/buy.ts index d87d52b..2fc7c76 100644 --- a/src/lib/buy.ts +++ b/src/lib/buy.ts @@ -325,7 +325,8 @@ function confirmPlaceOrderMessage(options: BuyOptions) { ); const pricePerHourLabel = c.green(centsToDollarsFormatted(pricePerGPUHour)); - const topLine = `${totalNodesLabel} ${instanceTypeLabel} ${nodesLabel} (${GPUS_PER_NODE * options.quantity} GPUs) at ${pricePerHourLabel} per GPU hour for ${c.green(durationHumanReadable)} ${timeDescription}`; + const colocated_with = options.colocate_with.length === 0 ? "" : ` colocated with ${options.colocate_with.join(", ")}`; + const topLine = `${totalNodesLabel} ${instanceTypeLabel} ${nodesLabel} (${GPUS_PER_NODE * options.quantity} GPUs${colocated_with}) at ${pricePerHourLabel} per GPU hour for ${c.green(durationHumanReadable)} ${timeDescription}`; const dollarsLabel = c.green(centsToDollarsFormatted(pricePerGPUHour));