Daniel Avila
3ab9b7f736
refactor(askOpenAI.js): rename gptResponse to response, fixes titling error
2023-04-04 18:17:23 -04:00
Wentao Lyu
d864da6a21
fix: rewrite ask openAI and ask BingAI. now all code cleaned.
2023-04-05 02:29:11 +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
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
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
Daniel Avila
03f63975cc
Merge branch 'main' into feat-endpoint-style-structure
2023-04-03 17:30:59 -04:00
Danny Avila
58d162d8b4
reset package-lock files
2023-04-03 14:39:27 -04:00
Wentao Lyu
dae0c2d5e3
server fix: code refactor
2023-04-04 01:10:50 +08:00
Adam Boeglin
584772b3f2
Support local config for reverse proxy
2023-04-03 09:29:52 -07:00
Daniel Avila
24a82c8018
Merge branch 'main' into feat-endpoint-style-structure
2023-04-02 15:10:21 -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
Daniel Avila
eef2303c8e
Merge branch 'main' into feat-endpoint-style-structure
2023-04-02 12:10:14 -04:00
Daniel Avila
709dbbbc4b
chore(api): update "@waylaidwanderer/chatgpt-api" dependency to version 1.33.2
2023-04-02 12:07:59 -04:00
Daniel Avila
8fa20d9356
Merge branch 'main' into feat-endpoint-style-structure
2023-04-01 19:41:36 -04:00
Daniel D Orlando
eb2d9bac33
refactor: have build served from dist folder
2023-04-01 13:28:37 -07:00
Wentao Lyu
80ef5008dd
feat: add preset in server
2023-04-02 04:14:42 +08:00
Wentao Lyu
d76efa7874
code cleanup
2023-04-02 00:57:27 +08: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
60be4f12b7
feat: return endpoint config from server
2023-04-01 14:33:07 +08:00
Wentao Lyu
ec47879edc
clean: parentMassageId is no more needed in conversation.
2023-04-01 02:15:09 +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
7e8b31cd09
fix: a typo in authenticatedOrRedirect
2023-03-31 00:26:43 +08:00
Wentao Lyu
dd825dc6d4
feat: new endpoint-style structure in server side
2023-03-31 00:20:18 +08:00
Danny Avila
cf2bab31cf
reset packages and uninstall unused dep.
2023-03-29 14:12:24 -04:00
Danny Avila
4a94ee7af8
feat: allow default gpt api model before frontend customization
2023-03-29 10:17:24 -04:00
Wentao Lyu
e796a19136
fix: remove related messages when deleting conversations.
2023-03-29 13:32:01 +08:00
Daniel Avila
0d7300be9b
fix: chatgptBrowser handling and ask.js refactor
2023-03-28 22:28:43 -04:00
Daniel Avila
005d8fb178
edit titleConvo for consistent results
2023-03-28 19:50:37 -04:00
Danny Avila
74924d2eea
reset package-lock again
2023-03-28 16:29:42 -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
dc743df255
feat: update title generator prompt, to support better on language.
2023-03-29 01:50:57 +08:00
Wentao Lyu
319e4f0f95
fix: set to default model in searchPlaceholderConversation
...
fix: set max auth cookie to 7 days
2023-03-29 01:26:58 +08:00
Wentao Lyu
5467d550e5
Merge remote-tracking branch 'origin/main' into feat-refactor-0.1.1
2023-03-29 00:19:46 +08:00
Wentao Lyu
370dc2dd8a
feat: support search-style-url
...
fix: url can be null in conversationId and query
fix: get conversation api should handle not found.
2023-03-29 00:08:02 +08:00
Danny Avila
4564b648f7
fix: failsafe to prevent all convos clearing from delete button
2023-03-28 11:42:36 -04:00
Danny Avila
0fbbe74479
revert bing to last working state
2023-03-28 11:38:56 -04:00
Wentao Lyu
d8ccc5b870
fix: clearConvo will remove all messages
2023-03-28 01:19:44 +08:00
Wentao Lyu
7d43032a98
feat: return home page on any path
...
fix: clearConvo will remove all messages
2023-03-28 00:15:29 +08:00
Danny Avila
7dc479e0a0
Merge pull request #135 from HyunggyuJang/follow-up/title-generation
...
updateConvo for title updating
2023-03-27 09:31:45 -04:00
Hyunggyu Jang
7486a56816
updateConvo for title updating
2023-03-27 12:53:40 +09:00
Hyunggyu Jang
40e23b013a
Use react markdown as default, cleanup dependencies
2023-03-27 10:22:37 +09:00
Daniel Avila
c2967eafa4
chore: update docker-compose for interchangeable env for search, uninstalled unused deps
2023-03-25 10:20:39 -04:00
Daniel Avila
394cdcd9f4
fix: remove 'class=' error
2023-03-25 09:55:33 -04:00
Daniel Avila
c5561434c8
lift node-api library
2023-03-25 09:53:39 -04:00
Daniel Avila
26e7a715e0
feat: complete bing styles (bing is passed tone style)
2023-03-25 09:40:36 -04:00
Daniel Avila
ad0f2408c8
Merge branch 'main' into bing-styles
2023-03-24 18:50:56 -04:00
Daniel Avila
34bef48e84
fix: correctly searches bing messages
2023-03-24 18:26:59 -04:00