mirror of
https://github.com/deiucanta/chatpad.git
synced 2026-03-11 09:04:31 +00:00
Update 0.3.0 - Reflect GPT 4 Turbo pricing
This commit is contained in:
parent
f65fe8143f
commit
4732f25acf
2 changed files with 3 additions and 2 deletions
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue