diff --git a/package.json b/package.json index f28e28a..be92e98 100644 --- a/package.json +++ b/package.json @@ -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" } -} +} \ No newline at end of file diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 3c39330..7f13f39 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -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)}`}