Danny Avila
617aa6f499
Update defaultSystemMessage.md
2023-04-04 13:30:04 -04:00
Danny Avila
f922a1d102
Merge branch 'feat-endpoint-style-structure' of https://github.com/danny-avila/chatgpt-clone into feat-endpoint-style-structure
2023-04-04 12:53:59 -04:00
Danny Avila
bb75b6df3b
feat(bingai.js): add context and systemMessage parameters to askBing function
...
feat(conversationPreset.js): add context and systemMessage fields to conversation preset schema
feat(askBingAI.js): pass context and systemMessage parameters to ask function
feat(Settings.jsx): add toneStyle prop to BingAISettings component
feat(BingAIOptions/index.jsx): add useEffect to check if advanced mode is needed
feat(cleanupPreset.js): add context and systemMessage fields to cleaned up preset object
feat(getDefaultConversation.js): add context and systemMessage fields to default conversation object
feat(handleSubmit.js): add context and systemMessage fields to message object
2023-04-04 12:53:41 -04:00
Danny Avila
4b04959290
Update defaultSystemMessage.md
2023-04-04 11:22:23 -04:00
Danny Avila
28c5b21217
Update defaultSystemMessage.md
2023-04-04 11:21:30 -04:00
Daniel D Orlando
086267ee01
Add esbuild to package.json
2023-04-04 07:32:28 -07:00
Danny Avila
3484ff687d
Merge branch 'feat-endpoint-style-structure' of https://github.com/danny-avila/chatgpt-clone into feat-endpoint-style-structure
2023-04-04 10:08:12 -04:00
Danny Avila
6e233accf5
style(tokenizer.js): comment out console.log statement
...
fix(Settings.jsx): handle null or empty context in useEffect to avoid errors
2023-04-04 10:07:48 -04:00
Danny Avila
1a196580b2
feat: count tokens for context
...
feat(BingAI): convert toneStyle to lowercase before setting it in state
feat(BingAI): pass setToneStyle function to Settings component
refactor(BingAI): remove unused import and change setOption to setToneStyle in Settings component
refactor(fetchers.js): add axiosPost function for debounced axios post requests
2023-04-04 10:04:21 -04:00
Wentao Lyu
e1d52b858b
fix: cannot open edit preset the use preset.
2023-04-04 22:01:01 +08:00
Wentao Lyu
cef98070e9
style: show scrollbar over content.
2023-04-04 13:27:09 +08:00
Wentao Lyu
7353829719
refactor: code clean up
2023-04-04 13:11:59 +08:00
Daniel Avila
89e38d67f4
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.
2023-04-03 21:18:19 -04:00
Danny Avila
825be5aa4d
Update defaultSystemMessage.md
2023-04-03 20:12:56 -04:00
Danny Avila
d8deb89e3a
Update defaultSystemMessage.md
2023-04-03 20:07:24 -04:00
Danny Avila
da69e4176a
Create defaultSystemMessage.md
2023-04-03 20:06:55 -04:00
Danny Avila
85372118ed
Delete defaultSystemMessage
2023-04-03 20:06:36 -04:00
Danny Avila
4fe48fe6bb
Create defaultSystemMessage
2023-04-03 20:06:08 -04:00
Daniel Avila
03f63975cc
Merge branch 'main' into feat-endpoint-style-structure
2023-04-03 17:30:59 -04:00
Danny Avila
28f1e851f9
chore(Settings.jsx): comment out unused import of InputNumber component
2023-04-03 16:29:02 -04:00
Danny Avila
58d162d8b4
reset package-lock files
2023-04-03 14:39:27 -04:00
Danny Avila
4961cc9250
reset package-lock on root dir
2023-04-03 14:24:32 -04:00
Wentao Lyu
8720f39def
feat: preserve the title of preset.
2023-04-04 01:39:40 +08:00
Wentao Lyu
089d99e679
feat: open option dialog when click messageHeader
2023-04-04 01:23:37 +08:00
Wentao Lyu
d2579b44d1
feat: support edit preset,
...
feat: support view current conversation options.
feat: save current conversation as a preset.
feat: preset delete all.
2023-04-04 01:12:14 +08:00
Wentao Lyu
dae0c2d5e3
server fix: code refactor
2023-04-04 01:10:50 +08:00
Danny Avila
3d246df6c9
Merge pull request #149 from adamrb/main
...
Support local config for reverse proxy
2023-04-03 13:07:45 -04:00
Wentao Lyu
ea88e9b981
fix: bingAI/settings: wrong usage of checkbox
2023-04-04 01:04:33 +08:00
Adam Boeglin
584772b3f2
Support local config for reverse proxy
2023-04-03 09:29:52 -07:00
Wentao Lyu
e7c9ae5a7d
fix: regenerate should work for error message.
2023-04-03 21:32:21 +08:00
Wentao Lyu
4a95b30a0d
fix: proxy auth in vite.config.js
2023-04-03 21:31:59 +08:00
Wentao Lyu
15ada95249
feat: export preset.
2023-04-03 12:54:15 +08:00
Daniel Avila
ced65f8c98
feat(client): add @radix-ui/react-checkbox dependency and create BingAI Settings component
...
feat(BingAIOptions): add advanced mode to BingAIOptions component
feat(Checkbox): add Checkbox component to ui components
2023-04-02 18:45:41 -04:00
Daniel Avila
871bc4c78b
refactor(getIcon.jsx): if model is GPT-4, change background color to black.
2023-04-02 15:23:28 -04:00
Daniel Avila
24a82c8018
Merge branch 'main' into feat-endpoint-style-structure
2023-04-02 15:10:21 -04:00
Danny Avila
cd7e3f3774
Merge pull request #148 from danny-avila/update-proxy
...
fix(chatgpt-browser.js): update reverseProxyUrl to use new domain nam…
2023-04-02 14:54:47 -04:00
Daniel Avila
ab7cf8c881
fix(chatgpt-browser.js): update reverseProxyUrl to use new domain name ' https://bypass.churchless.tech ' instead of ' https://bypass.duti.tech '
2023-04-02 14:54:02 -04:00
Daniel Avila
aa4fd57459
feat(chatgpt-browser): add support for multiple GPT models
...
This commit adds support for multiple GPT models in the chatGPT-browser
client. The available models are now stored in a Map object, which maps
the model label to its corresponding model.
The commit adds a new component, ChatGPTOptions, to the client
UI to allow the user to select the GPT model to use in the chat. The
component is only displayed when the chatGPT-browser endpoint is
selected.
2023-04-02 14:34:12 -04:00
Danny Avila
8551995a51
Merge pull request #138 from danny-avila/danorlando/setup-e2e-with-playwright
...
test: Playwright setup
2023-04-02 14:28:23 -04:00
Daniel D Orlando
85f3b488ce
test: move playwright action out of workflows
2023-04-02 11:11:53 -07:00
Daniel D Orlando
12b7e9a6bb
reset back to npm ci
2023-04-02 11:07:48 -07:00
Daniel D Orlando
d5e062eeed
try using npm install instead of npm ci in github action
2023-04-02 11:07:48 -07:00
Daniel D Orlando
f5e120c330
try explicitly setting registry before npm ci step
2023-04-02 11:07:48 -07:00
Daniel D Orlando
afaa0253b8
undo change adding .npmrc to try to resolve the package resolution issue on npm ci step of github action
2023-04-02 11:07:48 -07:00
Daniel D Orlando
3ec2942365
try manually removing @playwright from the resolution path to make github action work
2023-04-02 11:07:48 -07:00
Daniel D Orlando
6d7f0448ff
try adding .npmrc to resolve problem getting playwright-core from the registry
2023-04-02 11:07:48 -07:00
Daniel D Orlando
70427a628f
generate new package-lock.json
2023-04-02 11:07:48 -07:00
Daniel D Orlando
b19ef425b7
try removing package-lock.json and forcing it to generate on the npm ci step
2023-04-02 11:07:48 -07:00
Daniel D Orlando
b7c911534c
use node 18
2023-04-02 11:07:48 -07:00
Daniel D Orlando
fe6b1fc12a
generate new package-lock.json
2023-04-02 11:07:48 -07:00