v1.2.0 update
Add parameters to automatically adjust the number of tokens sent to the server, to avoid receiving a 400 error from the server.
Add https://www.npmjs.com/package/@dqbd/tiktoken to calc token count.
Add parameters to automatically adjust the number of tokens sent to the server, to avoid receiving a 400 error from the server.
Add https://www.npmjs.com/package/@dqbd/tiktoken to calc token count.