mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-09 03:26:38 +08:00
no usage
This commit is contained in:
parent
0dd9a350d0
commit
f9b1dc9c05
@ -170,8 +170,6 @@ export class ChatGPTApi implements LLMApi {
|
||||
},
|
||||
onmessage(msg) {
|
||||
if (msg.data === "[DONE]" || finished) {
|
||||
const usageTokens = json.usage?;
|
||||
console.log("usageTokens:", usageTokens);
|
||||
return finish();
|
||||
}
|
||||
const text = msg.data;
|
||||
|
Loading…
Reference in New Issue
Block a user