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) => { ...@@ -129,7 +129,7 @@ app.post('/api', async (req, res) => {
129 usage.total_tokens = usage.prompt_tokens + usage.completion_tokens; 129 usage.total_tokens = usage.prompt_tokens + usage.completion_tokens;
130 130
131 // TOKEN USAGE 131 // TOKEN USAGE
132 btutil_setChatUsage('chatgpt', usage.prompt_tokens, usage.total_tokens); 132 btutil_setChatUsage('chatbot+', usage.prompt_tokens, usage.total_tokens);
133 } catch (e) { 133 } catch (e) {
134 console.log('Error encoding prompt text', e); 134 console.log('Error encoding prompt text', e);
135 } 135 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!