feat(bing-settings): Work in Progress, will finish tomorrow

feat(api): add @dqbd/tiktoken package as a dependency
feat(api): add /api/tokenizer endpoint to tokenize text using @dqbd/tiktoken
feat(client): add toneStyle dropdown to BingAI Settings component
feat(client): add token count to BingAI Settings component

style(ui): add z-index to Dropdown and EndpointOptionsPopover components

Add z-index to Dropdown and EndpointOptionsPopover components to ensure they are displayed above other components.
This commit is contained in:
Daniel Avila 2023-04-03 21:18:19 -04:00
parent 03f63975cc
commit 89e38d67f4
8 changed files with 78 additions and 16 deletions

View file

@ -5,6 +5,7 @@ const presets = require('./presets');
const customGpts = require('./customGpts');
const prompts = require('./prompts');
const search = require('./search');
const tokenizer = require('./tokenizer');
const { router: auth, authenticatedOr401, authenticatedOrRedirect } = require('./auth');
module.exports = {
@ -16,6 +17,7 @@ module.exports = {
customGpts,
prompts,
auth,
tokenizer,
authenticatedOr401,
authenticatedOrRedirect
};