Update 0.3.0 - Reflect GPT 4 Turbo pricing

This commit is contained in:
Jeremy Marjollet 2023-11-08 17:52:32 +01:00
parent f65fe8143f
commit 4732f25acf
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,6 @@
{
"name": "chatpad",
"version": "0.3.0",
"private": true,
"source": "src/index.html",
"browserslist": "> 0.5%, last 2 versions, not dead",
@ -53,4 +54,4 @@
"remark-gfm": "^3.0.1",
"typescript": "4.9.5"
}
}
}

View file

@ -283,7 +283,7 @@ export function Layout() {
}}
>
{`${chat.description} - ${chat.totalTokens ?? 0} tokens ~ $${(
((chat.totalTokens ?? 0) * 0.002) /
((chat.totalTokens ?? 0) * 0.03) /
1000
).toFixed(5)}`}
</div>