Wentao Lyu
6abe34ee3b
fix: validate the import preset
2023-04-05 16:16:11 +08:00
Daniel Avila
5aa6b516ed
feat: Import Presets from NewConversationMenu
...
feat(FileUpload.jsx): add support for importing JSON files and fetching presets after import
feat(NewConversationMenu.jsx): add FileUpload component to select and import JSON files
feat(fetchers.js): add handleFileSelected function to handle importing JSON files and uploading presets to the server
2023-04-04 23:18:58 -04:00
Wentao Lyu
ee10e0e43e
feat: use default preset to create new conversation.
2023-04-05 03:49:54 +08:00
Wentao Lyu
9f1ded7f75
feat: add jailbreak option for bingai
...
fix some bugs.
2023-04-05 02:46:22 +08:00
Wentao Lyu
efb440128a
code clean.
2023-04-05 02:30:25 +08: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
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
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
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
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
Daniel Avila
8fa20d9356
Merge branch 'main' into feat-endpoint-style-structure
2023-04-01 19:41:36 -04:00
Wentao Lyu
45e17da241
feat: add preset and edit preset.
2023-04-02 04:15:07 +08:00
Daniel D Orlando
ff757f27cf
fix: fix files to adhere to standard conventions
2023-04-01 12:56:32 -07:00
Wentao Lyu
46e3ef4049
feat: endpoint setting mobile style.
...
feat: save and endpoint option works!
2023-04-01 23:27:44 +08:00
Wentao Lyu
03f1a439d6
fix: suggestions seems not used. what's this?
2023-03-31 04:39:11 +08:00
Wentao Lyu
e8e3903b78
feat: feat: new endpoint-style endpoint select
...
fix: a wrong use of bingai params
2023-03-31 04:22:16 +08:00
Wentao Lyu
adcc021c9e
feat: feat: new endpoint-style submit
2023-03-31 03:22:57 +08:00
Wentao Lyu
089ca5f120
feat: new endpoint-style icon
2023-03-31 01:41:41 +08:00
Wentao Lyu
c53778e7c1
feat: new endpoint-style structure in client side
...
NOT FINISHED. model menu and icon and send message not work.
2023-03-31 00:20:45 +08:00
Danny Avila
2a16a64612
fix: cursor appears on placeholder message
2023-03-28 15:32:22 -04:00
Wentao Lyu
aa26eea8c5
fix: missing icon of search result
...
feat: use search result message as single list
2023-03-29 02:29:15 +08:00
Wentao Lyu
c7c30d8bb5
refactor: basic message and send message. as well as model
...
THIS IS NOT FINISHED. DONT USE THIS
2023-03-28 22:39:27 +08:00
Wentao Lyu
af3d74b104
refactor: nav and search.
...
feat: use recoil to replace redux
feat: use react-native
THIS IS NOT FINISHED. DONT USE THIS
2023-03-28 20:36:21 +08:00
Hyunggyu Jang
40e23b013a
Use react markdown as default, cleanup dependencies
2023-03-27 10:22:37 +09:00
Danny Avila
89ab74a913
feat: complete frontend/backend tone handling
2023-03-24 16:21:10 -04:00
Daniel Avila
1dbfb0dab7
minor styling changes, cache queried messages on server
2023-03-22 18:26:29 -04:00
Danny Avila
8f58c95452
feat: main styling/ui/ux final changes
2023-03-22 16:06:11 -04:00
Danny Avila
73449d9ec6
feat: build tree by convoId
2023-03-22 10:23:36 -04:00
Daniel Avila
97a6cd801b
feat: simple api call to enable search
2023-03-21 19:31:57 -04:00
Daniel Avila
c85602b93b
chore: Replace hard coded message ID with unique one
2023-03-20 01:51:07 -04:00
HyunggyuJang
0405206438
Remove crypto from client side
...
Unless, if we tries to access the client side page from http protocol, crypto.randomUUID() isn't available.
2023-03-20 00:58:17 -04:00
Daniel Avila
0b47218cd5
markdown library change
2023-03-19 01:14:19 -04:00
Daniel Avila
d56aa2edef
loads up to 20 messages, debugging markdown issue
2023-03-18 23:18:36 -04:00
Daniel Avila
4e6168d8fa
setup message population on search
2023-03-18 18:40:53 -04:00
Daniel Avila
4197a92609
feat: search working as expected
2023-03-18 17:49:24 -04:00
Daniel Avila
b97594c000
fix: conflicting fetch with /api/convos
2023-03-18 14:28:10 -04:00
Wentao Lyu
a213868b17
fix: set isSubmitting with messages together
...
style: some notification
2023-03-18 01:12:45 +08:00
Wentao Lyu
6b2a2bb858
feat: save cancelled flag in message
2023-03-18 01:11:44 +08:00
Wentao Lyu
fea3afa740
fix: missing import
2023-03-18 01:10:20 +08:00
Danny Avila
46fbd3b66a
fix: fix weird scrolling behavior on last message
2023-03-17 12:34:54 -04:00
Wentao Lyu
ef9f1ee1cf
feat: cancellable api request
2023-03-17 03:50:34 +08:00
Wentao Lyu
0891566d1e
feat: add regenerate to all response message as official
2023-03-17 03:49:59 +08:00
Danny Avila
867b3073d4
fix: icon and mobile textarea styling
2023-03-16 13:29:13 -04:00
Wentao Lyu
7442294c41
fix: mobile sizing style of icon
2023-03-16 14:05:12 +08:00
Wentao Lyu
a47dbe6262
feat: use same icon style in TextChat
2023-03-16 13:45:46 +08:00
Wentao Lyu
62d88380e0
feat: add sample multi-user support
...
feat: update README
2023-03-16 13:20:34 +08:00
Danny Avila
96ca783517
chore: re-organize message modules, fix icon size, convo reset properly rebuilds Tree
2023-03-15 10:42:45 -04:00
Wentao Lyu
45ca0a8713
fix: gptCustom icon should show as same in model and message
2023-03-15 14:42:39 +08:00
Wentao Lyu
5d0b849930
feat: show icon within model select menu
...
fix: use icon for gptCustom
2023-03-15 14:21:08 +08:00
Daniel Avila
918f2fecb6
fix: convo resets on model change
2023-03-14 21:25:02 -04:00