chatbox
chatbox copied to clipboard
多轮对话的token estimate问题
调用OpenAI的API进行多轮对话时,需要把前置的message和response都传入请求,这些内容的token也将被累积计费: https://platform.openai.com/docs/guides/chat/introduction
而ChatBox终的token estimate似乎只显示当前输入内容的token长度,而非累积的token长度。是否可以增加一个累积token estimate?