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

@ -114,13 +114,13 @@ function BingAIOptions() {
</div>
<EndpointOptionsPopover
content={
<div className="px-4 py-4">
<div className="px-4 py-4 z-50">
<Settings
context={context}
systemMessage={systemMessage}
setContext={setOption('context')}
setSystemMessage={setOption('systemMessage')}
setJailbreak={setOption('jailbreak')}
jailbreak={jailbreak}
toneStyle={toneStyle}
setOption={setOption}
/>
</div>
}