LibreChat/api/app/clients
Danny Avila 9491b753c3
fix: Match OpenAI Token Counting Strategy 🪙 (#945)
* wip token fix

* fix: complete token count refactor to match OpenAI example

* chore: add back sendPayload method (accidentally deleted)

* chore: revise JSDoc for getTokenCountForMessage
2023-09-14 19:40:21 -04:00
..
agents refactor: Encrypt & Expire User Provided Keys, feat: Rate Limiting (#874) 2023-09-06 10:46:27 -04:00
chains refactor: Encrypt & Expire User Provided Keys, feat: Rate Limiting (#874) 2023-09-06 10:46:27 -04:00
llm refactor: Encrypt & Expire User Provided Keys, feat: Rate Limiting (#874) 2023-09-06 10:46:27 -04:00
output_parsers refactor: Encrypt & Expire User Provided Keys, feat: Rate Limiting (#874) 2023-09-06 10:46:27 -04:00
prompts refactor: Encrypt & Expire User Provided Keys, feat: Rate Limiting (#874) 2023-09-06 10:46:27 -04:00
specs fix: Match OpenAI Token Counting Strategy 🪙 (#945) 2023-09-14 19:40:21 -04:00
tools feat: CodeBrew Plugin (#931) 2023-09-13 11:51:53 -04:00
AnthropicClient.js fix: Match OpenAI Token Counting Strategy 🪙 (#945) 2023-09-14 19:40:21 -04:00
BaseClient.js fix: Match OpenAI Token Counting Strategy 🪙 (#945) 2023-09-14 19:40:21 -04:00
ChatGPTClient.js fix: Match OpenAI Token Counting Strategy 🪙 (#945) 2023-09-14 19:40:21 -04:00
GoogleClient.js fix: Match OpenAI Token Counting Strategy 🪙 (#945) 2023-09-14 19:40:21 -04:00
index.js ci(backend-review.yml): add linter step to the backend review workflow (#625) 2023-07-14 09:36:49 -04:00
OpenAIClient.js fix: Match OpenAI Token Counting Strategy 🪙 (#945) 2023-09-14 19:40:21 -04:00
PluginsClient.js feat(Message): add and handle isEdited property when edited/continued as this can include user input 2023-09-07 07:18:35 -04:00
TextStream.js refactor(plugins): Improve OpenAPI handling, Show Multiple Plugins, & Other Improvements (#845) 2023-08-28 12:03:08 -04:00