mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-08 03:07:53 +00:00
Show zero price for free models (#9419)
This commit is contained in:
parent
5260123689
commit
575b09f834
1 changed files with 2 additions and 2 deletions
|
|
@ -69,13 +69,13 @@ export const ModelInfoView = ({
|
|||
].filter(Boolean)
|
||||
|
||||
const priceInfoItems = [
|
||||
modelInfo?.inputPrice !== undefined && modelInfo.inputPrice > 0 && (
|
||||
modelInfo?.inputPrice !== undefined && (
|
||||
<>
|
||||
<span className="font-medium">{t("settings:modelInfo.inputPrice")}:</span>{" "}
|
||||
{formatPrice(modelInfo.inputPrice)} / 1M tokens
|
||||
</>
|
||||
),
|
||||
modelInfo?.outputPrice !== undefined && modelInfo.outputPrice > 0 && (
|
||||
modelInfo?.outputPrice !== undefined && (
|
||||
<>
|
||||
<span className="font-medium">{t("settings:modelInfo.outputPrice")}:</span>{" "}
|
||||
{formatPrice(modelInfo.outputPrice)} / 1M tokens
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue