006c6848 by Jonille Arreglo

Merge branch '28594_usage_tracking' into 'master'

28594_usage_tracking

See merge request !77
2 parents 6f8385ce 0abe599b
......@@ -125,7 +125,7 @@ function App() {
userModifiedInput = "";
}
if(data.usage) {
btutil_setChatUsage('chatbot+', data.usage.prompt_tokens, data.usage.total_tokens);
window.btutil_setChatUsage('chatbot+', data.usage.prompt_tokens, data.usage.total_tokens);
}
chatLogTurboNew.push({ role: "user", content: userModifiedInput });
chatLogTurboNew.push({ role: "assistant", content: parsedData });
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!