mirror of
https://github.com/coalaura/whiskr.git
synced 2025-12-02 20:22:52 +00:00
show image pricing too
This commit is contained in:
@@ -1456,10 +1456,13 @@
|
||||
model.name,
|
||||
separator,
|
||||
`Created:\t\t${formatTimestamp(model.created)}`,
|
||||
`Pricing/1M:\t$${fixed(model.pricing.input, 2)} In | $${fixed(model.pricing.output, 2)} Out`,
|
||||
`Pricing/1M:\t${formatMoney(model.pricing.input)} In | ${formatMoney(model.pricing.output)} Out`,
|
||||
model.pricing.image ? `Images:\t\t${formatMoney(model.pricing.image)} each` : null,
|
||||
separator,
|
||||
stripMarkdown(model.description),
|
||||
].join("\n");
|
||||
]
|
||||
.filter(Boolean)
|
||||
.join("\n");
|
||||
|
||||
el.value = model.id;
|
||||
el.textContent = model.name;
|
||||
|
||||
Reference in New Issue
Block a user