Skip to content

Commit

Permalink
message
Browse files Browse the repository at this point in the history
  • Loading branch information
at2005 committed Oct 1, 2024
1 parent 83413fc commit fce5c7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/buy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit fce5c7d

Please sign in to comment.