d87c4f75 by Jonille Arreglo

28594_usage_tracking

1 parent d565d275
Showing 1 changed file with 1 additions and 1 deletions
......@@ -129,7 +129,7 @@ app.post('/api', async (req, res) => {
usage.total_tokens = usage.prompt_tokens + usage.completion_tokens;
// TOKEN USAGE
btutil_setChatUsage('chatgpt', usage.prompt_tokens, usage.total_tokens);
btutil_setChatUsage('chatbot+', usage.prompt_tokens, usage.total_tokens);
} catch (e) {
console.log('Error encoding prompt text', e);
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!